mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 05:26:47 +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;
|
||||
|
||||
@@ -15,5 +15,9 @@ const map: TranslationStrings = {
|
||||
'poi.cat.activities': 'Atividades',
|
||||
'map.showAllConnections': 'Mostrar todas as rotas de reservas',
|
||||
'map.hideAllConnections': 'Ocultar todas as rotas de reservas',
|
||||
'map.baseLayer.default': 'Mapa',
|
||||
'map.baseLayer.satellite': 'Satélite',
|
||||
'map.baseLayer.switchToSatellite': 'Mudar para vista de satélite',
|
||||
'map.baseLayer.switchToDefault': 'Mudar para vista de mapa',
|
||||
};
|
||||
export default map;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -15,5 +15,9 @@ const map: TranslationStrings = {
|
||||
'poi.cat.activities': 'Aktivitäten',
|
||||
'map.showAllConnections': 'Alle Buchungsrouten anzeigen',
|
||||
'map.hideAllConnections': 'Alle Buchungsrouten ausblenden',
|
||||
'map.baseLayer.default': 'Karte',
|
||||
'map.baseLayer.satellite': 'Satellit',
|
||||
'map.baseLayer.switchToSatellite': 'Zur Satellitenansicht wechseln',
|
||||
'map.baseLayer.switchToDefault': 'Zur Kartenansicht wechseln',
|
||||
};
|
||||
export default map;
|
||||
|
||||
@@ -15,5 +15,9 @@ const map: TranslationStrings = {
|
||||
'poi.cat.activities': 'Activities',
|
||||
'map.showAllConnections': 'Show all booking routes',
|
||||
'map.hideAllConnections': 'Hide all booking routes',
|
||||
'map.baseLayer.default': 'Map',
|
||||
'map.baseLayer.satellite': 'Satellite',
|
||||
'map.baseLayer.switchToSatellite': 'Switch to satellite view',
|
||||
'map.baseLayer.switchToDefault': 'Switch to map view',
|
||||
};
|
||||
export default map;
|
||||
|
||||
@@ -15,5 +15,9 @@ const map: TranslationStrings = {
|
||||
'poi.cat.activities': 'Actividades',
|
||||
'map.showAllConnections': 'Mostrar todas las rutas de reservas',
|
||||
'map.hideAllConnections': 'Ocultar todas las rutas de reservas',
|
||||
'map.baseLayer.default': 'Mapa',
|
||||
'map.baseLayer.satellite': 'Satélite',
|
||||
'map.baseLayer.switchToSatellite': 'Cambiar a vista de satélite',
|
||||
'map.baseLayer.switchToDefault': 'Cambiar a vista de mapa',
|
||||
};
|
||||
export default map;
|
||||
|
||||
@@ -15,5 +15,9 @@ const map: TranslationStrings = {
|
||||
'poi.cat.activities': 'Activités',
|
||||
'map.showAllConnections': 'Afficher tous les itinéraires',
|
||||
'map.hideAllConnections': 'Masquer tous les itinéraires',
|
||||
'map.baseLayer.default': 'Carte',
|
||||
'map.baseLayer.satellite': 'Satellite',
|
||||
'map.baseLayer.switchToSatellite': 'Passer à la vue satellite',
|
||||
'map.baseLayer.switchToDefault': 'Passer à la vue carte',
|
||||
};
|
||||
export default map;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -15,5 +15,9 @@ const map: TranslationStrings = {
|
||||
'poi.cat.activities': 'Programok',
|
||||
'map.showAllConnections': 'Összes foglalási útvonal megjelenítése',
|
||||
'map.hideAllConnections': 'Összes foglalási útvonal elrejtése',
|
||||
'map.baseLayer.default': 'Térkép',
|
||||
'map.baseLayer.satellite': 'Műhold',
|
||||
'map.baseLayer.switchToSatellite': 'Váltás műholdas nézetre',
|
||||
'map.baseLayer.switchToDefault': 'Váltás térkép nézetre',
|
||||
};
|
||||
export default map;
|
||||
|
||||
@@ -15,5 +15,9 @@ const map: TranslationStrings = {
|
||||
'poi.cat.activities': 'Aktivitas',
|
||||
'map.showAllConnections': 'Tampilkan semua rute pemesanan',
|
||||
'map.hideAllConnections': 'Sembunyikan semua rute pemesanan',
|
||||
'map.baseLayer.default': 'Peta',
|
||||
'map.baseLayer.satellite': 'Satelit',
|
||||
'map.baseLayer.switchToSatellite': 'Beralih ke tampilan satelit',
|
||||
'map.baseLayer.switchToDefault': 'Beralih ke tampilan peta',
|
||||
};
|
||||
export default map;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -15,5 +15,9 @@ const map: TranslationStrings = {
|
||||
'poi.cat.activities': 'Activiteiten',
|
||||
'map.showAllConnections': 'Alle boekingsroutes tonen',
|
||||
'map.hideAllConnections': 'Alle boekingsroutes verbergen',
|
||||
'map.baseLayer.default': 'Kaart',
|
||||
'map.baseLayer.satellite': 'Satelliet',
|
||||
'map.baseLayer.switchToSatellite': 'Overschakelen naar satellietweergave',
|
||||
'map.baseLayer.switchToDefault': 'Overschakelen naar kaartweergave',
|
||||
};
|
||||
export default map;
|
||||
|
||||
@@ -15,5 +15,9 @@ const map: TranslationStrings = {
|
||||
'poi.cat.activities': 'Aktywności',
|
||||
'map.showAllConnections': 'Pokaż wszystkie trasy rezerwacji',
|
||||
'map.hideAllConnections': 'Ukryj wszystkie trasy rezerwacji',
|
||||
'map.baseLayer.default': 'Mapa',
|
||||
'map.baseLayer.satellite': 'Satelita',
|
||||
'map.baseLayer.switchToSatellite': 'Przełącz na widok satelitarny',
|
||||
'map.baseLayer.switchToDefault': 'Przełącz na widok mapy',
|
||||
};
|
||||
export default map;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -15,5 +15,9 @@ const map: TranslationStrings = {
|
||||
'poi.cat.activities': 'Aktiviteter',
|
||||
'map.showAllConnections': 'Visa alla bokningsvägar',
|
||||
'map.hideAllConnections': 'Dölj alla bokningsvägar',
|
||||
'map.baseLayer.default': 'Karta',
|
||||
'map.baseLayer.satellite': 'Satellit',
|
||||
'map.baseLayer.switchToSatellite': 'Byt till satellitvy',
|
||||
'map.baseLayer.switchToDefault': 'Byt till kartvy',
|
||||
};
|
||||
export default map;
|
||||
|
||||
@@ -15,5 +15,9 @@ const map: TranslationStrings = {
|
||||
'poi.cat.activities': 'Aktiviteler',
|
||||
'map.showAllConnections': 'Tüm rezervasyon rotalarını göster',
|
||||
'map.hideAllConnections': 'Tüm rezervasyon rotalarını gizle',
|
||||
'map.baseLayer.default': 'Harita',
|
||||
'map.baseLayer.satellite': 'Uydu',
|
||||
'map.baseLayer.switchToSatellite': 'Uydu görünümüne geç',
|
||||
'map.baseLayer.switchToDefault': 'Harita görünümüne geç',
|
||||
};
|
||||
export default map;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -15,5 +15,9 @@ const map: TranslationStrings = {
|
||||
'poi.cat.activities': 'Các hoạt động',
|
||||
'map.showAllConnections': 'Hiển thị tất cả lộ trình đặt chỗ',
|
||||
'map.hideAllConnections': 'Ẩn tất cả lộ trình đặt chỗ',
|
||||
'map.baseLayer.default': 'Bản đồ',
|
||||
'map.baseLayer.satellite': 'Vệ tinh',
|
||||
'map.baseLayer.switchToSatellite': 'Chuyển sang chế độ xem vệ tinh',
|
||||
'map.baseLayer.switchToDefault': 'Chuyển sang chế độ xem bản đồ',
|
||||
};
|
||||
export default map;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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