public static function LeafletCustomTileLayer::getDefaultSettings in Geolocation Field 8.3
Same name and namespace in other branches
- 8.2 modules/geolocation_leaflet/src/Plugin/geolocation/MapFeature/LeafletCustomTileLayer.php \Drupal\geolocation_leaflet\Plugin\geolocation\MapFeature\LeafletCustomTileLayer::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/ LeafletCustomTileLayer.php, line 23
Class
- LeafletCustomTileLayer
- Provides map tile layer support.
Namespace
Drupal\geolocation_leaflet\Plugin\geolocation\MapFeatureCode
public static function getDefaultSettings() {
return [
'tile_layer_url' => '//{s}.tile.osm.org/{z}/{x}/{y}.png',
'tile_layer_attribution' => '© <a href="https://osm.org/copyright">OpenStreetMap</a> contributors',
'tile_layer_subdomains' => 'abc',
'tile_layer_zoom' => 18,
];
}