public static function LeafletTileLayer::getDefaultSettings in Geolocation Field 8.3
Same name and namespace in other branches
- 8.2 modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/LeafletTileLayer.php \Drupal\geolocation_leaflet\Plugin\geolocation\MapFeature\LeafletTileLayer::getDefaultSettings()
Provide a populated settings array.
Return value
array The settings array with the default map settings.
Overrides MapFeatureBase::getDefaultSettings
File
- modules/
geolocation_leaflet/ src/ Plugin/ geolocation/ MapFeature/ LeafletTileLayer.php, line 25
Class
- LeafletTileLayer
- Provides map tile layer support.
Namespace
Drupal\geolocation_leaflet\Plugin\geolocation\MapFeatureCode
public static function getDefaultSettings() {
return [
'tile_layer_provider' => 'OpenStreetMap Mapnik',
'tile_provider_options' => [],
];
}