mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 08:30:05 +00:00
feat(map): toggle the trip map between default and satellite tiles
Add a corner button on the Leaflet trip map that switches the base layer between the default street tiles and a tokenless satellite view (ESRI World Imagery). The choice is a per-user setting (map_base_layer) that persists and applies instantly, including offline. GL-renderer satellite styles are unchanged. Closes #993
This commit is contained in:
committed by
Maurice
parent
5315bacc2a
commit
17dd6b7caa
@@ -15,5 +15,9 @@ const map: TranslationStrings = {
|
||||
'poi.cat.activities': 'Aktivity',
|
||||
'map.showAllConnections': 'Zobrazit všechny trasy rezervací',
|
||||
'map.hideAllConnections': 'Skrýt všechny trasy rezervací',
|
||||
'map.baseLayer.default': 'Mapa',
|
||||
'map.baseLayer.satellite': 'Satelit',
|
||||
'map.baseLayer.switchToSatellite': 'Přepnout na satelitní zobrazení',
|
||||
'map.baseLayer.switchToDefault': 'Přepnout na mapové zobrazení',
|
||||
};
|
||||
export default map;
|
||||
|
||||
Reference in New Issue
Block a user