mirror of
https://github.com/owntracks/recorder.git
synced 2024-11-15 09:58:40 -07:00
parent
b98cb2a0bd
commit
f634060a88
@ -27,11 +27,7 @@
|
|||||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
|
attribution: '© <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 © <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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user