remove HikeBike layer from views

closes #442
This commit is contained in:
Jan-Piet Mens 2024-01-27 13:00:19 +01:00
parent b98cb2a0bd
commit f634060a88

View File

@ -27,11 +27,7 @@
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors', attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
}).addTo(map); }).addTo(map);
const hikebike_layer = L.tileLayer('https://tiles.wmflabs.org/hikebike/{z}/{x}/{y}.png', { const baseMaps = { "OpenStreetMap": osm_layer };
attribution: 'Map Data &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, Hillshading: SRTM3 v2 (<a href="https://www2.jpl.nasa.gov/srtm/">NASA</a>)',
});
const baseMaps = { "OpenStreetMap": osm_layer, "HikeBikeMap": hikebike_layer};
L.control.layers(baseMaps).addTo(map); L.control.layers(baseMaps).addTo(map);