mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 18:04:18 +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': 'Attività',
|
||||
'map.showAllConnections': 'Mostra tutti i percorsi prenotati',
|
||||
'map.hideAllConnections': 'Nascondi tutti i percorsi prenotati',
|
||||
'map.baseLayer.default': 'Mappa',
|
||||
'map.baseLayer.satellite': 'Satellite',
|
||||
'map.baseLayer.switchToSatellite': 'Passa alla vista satellitare',
|
||||
'map.baseLayer.switchToDefault': 'Passa alla vista mappa',
|
||||
};
|
||||
export default map;
|
||||
|
||||
Reference in New Issue
Block a user