public static function LeafletControlLayer::getDefaultSettings in Geolocation Field 8.2
Same name and namespace in other branches
- 8.3 modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/LeafletControlLayer.php \Drupal\geolocation_leaflet\Plugin\geolocation\MapFeature\LeafletControlLayer::getDefaultSettings()
Provide a populated settings array.
Return value
array The settings array with the default map settings.
Overrides ControlElementBase::getDefaultSettings
File
- modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ MapFeature/ LeafletControlLayer.php, line 24
Class
- LeafletControlLayer
- Provides Tile Layer control element.
Namespace
Drupal\geolocation_leaflet\Plugin\geolocation\MapFeatureCode
public static function getDefaultSettings() {
return [
'default_label' => 'Default',
'tile_layer_providers' => [],
'tile_providers_options' => [],
];
}