You are here

public static function LeafletTileLayerOverlay::getDefaultSettings in Geolocation Field 8.3

Provide a populated settings array.

Return value

array The settings array with the default map settings.

Overrides MapFeatureBase::getDefaultSettings

1 call to LeafletTileLayerOverlay::getDefaultSettings()
LeafletTileLayerOverlay::getSettingsForm in modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/LeafletTileLayerOverlay.php
Provide a generic map settings form array.

File

modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/LeafletTileLayerOverlay.php, line 26

Class

LeafletTileLayerOverlay
Provides map tile layer overlay support.

Namespace

Drupal\geolocation_leaflet\Plugin\geolocation\MapFeature

Code

public static function getDefaultSettings() {
  return [
    'tile_layer_overlay' => 'OpenInfraMap.Power',
  ];
}