mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 02:34:21 +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': 'アクティビティ',
|
||||
'map.showAllConnections': 'すべての予約ルートを表示',
|
||||
'map.hideAllConnections': 'すべての予約ルートを非表示',
|
||||
'map.baseLayer.default': '地図',
|
||||
'map.baseLayer.satellite': '衛星',
|
||||
'map.baseLayer.switchToSatellite': '衛星表示に切り替える',
|
||||
'map.baseLayer.switchToDefault': '地図表示に切り替える',
|
||||
};
|
||||
export default map;
|
||||
|
||||
Reference in New Issue
Block a user