mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-23 05:21:15 +00:00
bf1900c3a0
Extract the day route builder out of useRouteCalculation into a pure module and aggregate it over the whole trip: one map with every day's route, each day in its own colour, the mode per stage and the trip's total distance. Straight lines first, roads as they answer; a refused leg keeps its line and adds no distance. Give the floating map controls one shared drop shadow while adding the toggle, so the new pill and the base-layer switcher stand off the tiles the way the locate button always has. Document the control in wiki/Map-Features.md. Addresses #1736
30 lines
1.4 KiB
TypeScript
30 lines
1.4 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const map: TranslationStrings = {
|
|
'map.connections': 'Verbindingen',
|
|
'map.showConnections': 'Boekingsroutes tonen',
|
|
'map.hideConnections': 'Boekingsroutes verbergen',
|
|
'poi.searchThisArea': 'Dit gebied doorzoeken',
|
|
'poi.cat.restaurants': 'Restaurants',
|
|
'poi.cat.cafes': 'Cafés',
|
|
'poi.cat.bars': 'Bars & uitgaan',
|
|
'poi.cat.hotels': 'Accommodatie',
|
|
'poi.cat.sights': 'Bezienswaardigheden',
|
|
'poi.cat.museums': 'Musea & cultuur',
|
|
'poi.cat.nature': 'Natuur & parken',
|
|
'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',
|
|
'map.location.denied': 'Locatietoegang is geblokkeerd. Controleer de apparaatinstellingen; een geïnstalleerde app heeft een eigen locatiemachtiging, los van de browser.',
|
|
'map.location.unavailable': 'Je locatie kon niet worden bepaald.',
|
|
'map.location.timeout': 'Het bepalen van je locatie duurde te lang. Probeer het opnieuw met vrij zicht op de lucht.',
|
|
'map.overview.show': 'Hele reis tonen',
|
|
'map.overview.hide': 'Hele reis verbergen',
|
|
'map.overview.total': 'Totale afstand',
|
|
};
|
|
export default map;
|