mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 16:10:07 +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': 'Activitats',
|
||||
'map.showAllConnections': 'Mostra totes les rutes de reserva',
|
||||
'map.hideAllConnections': 'Amaga totes les rutes de reserva',
|
||||
'map.baseLayer.default': 'Mapa',
|
||||
'map.baseLayer.satellite': 'Satèl·lit',
|
||||
'map.baseLayer.switchToSatellite': 'Canvia a vista de satèl·lit',
|
||||
'map.baseLayer.switchToDefault': 'Canvia a vista de mapa',
|
||||
};
|
||||
export default map;
|
||||
|
||||
Reference in New Issue
Block a user