mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 09:54:14 +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.5 KiB
TypeScript
30 lines
1.5 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const map: TranslationStrings = {
|
|
'map.connections': 'Conexões',
|
|
'map.showConnections': 'Mostrar rotas de reservas',
|
|
'map.hideConnections': 'Ocultar rotas de reservas',
|
|
'poi.searchThisArea': 'Pesquisar nesta área',
|
|
'poi.cat.restaurants': 'Restaurantes',
|
|
'poi.cat.cafes': 'Cafés',
|
|
'poi.cat.bars': 'Bares e vida noturna',
|
|
'poi.cat.hotels': 'Hospedagem',
|
|
'poi.cat.sights': 'Pontos turísticos',
|
|
'poi.cat.museums': 'Museus e cultura',
|
|
'poi.cat.nature': 'Natureza e parques',
|
|
'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',
|
|
'map.location.denied': 'O acesso à localização está bloqueado. Verifique as configurações do aparelho; um app instalado tem permissão de localização própria, separada do navegador.',
|
|
'map.location.unavailable': 'Não foi possível determinar sua localização.',
|
|
'map.location.timeout': 'A localização demorou demais. Tente de novo com uma visão mais aberta do céu.',
|
|
'map.overview.show': 'Mostrar a viagem inteira',
|
|
'map.overview.hide': 'Ocultar a viagem inteira',
|
|
'map.overview.total': 'Distância total',
|
|
};
|
|
export default map;
|