Skip to content
Snippets Groups Projects
Commit 633e1187 authored by Italo Mairo's avatar Italo Mairo
Browse files

Restore back a Default Leaflet - OSM Mapnik tiles base layer, without any...

Restore back a  Default Leaflet - OSM Mapnik tiles base layer, without any other Base Layer and Overlay (Issue #3414587)
parent 70c9f625
No related branches found
Tags 7.x-1.0-beta3
No related merge requests found
......@@ -66,7 +66,7 @@ function leaflet_leaflet_map_info() {
return [
'default_leaflet_multilayers' =>
[
'label' => '- Default Leaflet Multilayers - ',
'label' => '- Default Leaflet - OSM Mapnik - ',
'description' => t('Leaflet default map.'),
'settings' => [
'dragging' => TRUE,
......@@ -89,23 +89,6 @@ function leaflet_leaflet_map_info() {
'attribution' => '&copy; <a href="https://www.openstreetmap.org/copyright" rel="noopener noreferrer" target="_blank">OpenStreetMap</a> contributors',
],
],
'OpenTopoMap' => [
'urlTemplate' => '//{s}.tile.opentopomap.org/{z}/{x}/{y}.png',
'options' => [
"minZoom" => 0,
"maxZoom" => 18,
"attribution" => 'Kartendaten: © <a href="https://openstreetmap.org/copyright">OpenStreetMap</a>-Mitwirkende, SRTM | Kartendarstellung: © <a href="https://opentopomap.org">OpenTopoMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)',
],
],
'OpenRailwayMap' => [
'layer_type' => 'overlay',
'layer_hidden' => TRUE,
'urlTemplate' => '//tiles.openrailwaymap.org/standard/{z}/{x}/{y}.png',
'options' => [
'maxZoom' => 19,
'attribution' => 'Map data: &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors | Map style: &copy; <a href="https://www.OpenRailwayMap.org">OpenRailwayMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)',
],
],
],
],
];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment