mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 05:26:47 +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.6 KiB
TypeScript
30 lines
1.6 KiB
TypeScript
import type { TranslationStrings } from '../types';
|
|
|
|
const map: TranslationStrings = {
|
|
'map.connections': '接続',
|
|
'map.showConnections': '予約ルートを表示',
|
|
'map.hideConnections': '予約ルートを非表示',
|
|
'poi.searchThisArea': 'このエリアを検索',
|
|
'poi.cat.restaurants': 'レストラン',
|
|
'poi.cat.cafes': 'カフェ',
|
|
'poi.cat.bars': 'バー・ナイトライフ',
|
|
'poi.cat.hotels': '宿泊施設',
|
|
'poi.cat.sights': '観光スポット',
|
|
'poi.cat.museums': '美術館・文化施設',
|
|
'poi.cat.nature': '自然・公園',
|
|
'poi.cat.activities': 'アクティビティ',
|
|
'map.showAllConnections': 'すべての予約ルートを表示',
|
|
'map.hideAllConnections': 'すべての予約ルートを非表示',
|
|
'map.baseLayer.default': '地図',
|
|
'map.baseLayer.satellite': '衛星',
|
|
'map.baseLayer.switchToSatellite': '衛星表示に切り替える',
|
|
'map.baseLayer.switchToDefault': '地図表示に切り替える',
|
|
'map.location.denied': '位置情報へのアクセスがブロックされています。端末の設定を確認してください。インストールしたアプリにはブラウザとは別の位置情報の許可があります。',
|
|
'map.location.unavailable': '現在地を特定できませんでした。',
|
|
'map.location.timeout': '位置情報の取得に時間がかかりすぎました。空がよく見える場所でもう一度お試しください。',
|
|
'map.overview.show': '旅程全体を表示',
|
|
'map.overview.hide': '旅程全体を非表示',
|
|
'map.overview.total': '合計距離',
|
|
};
|
|
export default map;
|