mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 09:38:54 +00:00
feat(tours): add non-motorized day tour planning
This commit is contained in:
@@ -22,6 +22,12 @@ export const SATELLITE_TILE_ATTRIBUTION =
|
||||
'Imagery © <a href="https://www.esri.com">Esri</a>, Maxar, Earthstar Geographics'
|
||||
export const SATELLITE_TILE_MAXZOOM = 19
|
||||
|
||||
// Key-free hiking basemap used only by the Tours planner's per-view switcher.
|
||||
export const OPENTOPOMAP_TILE_URL = 'https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png'
|
||||
export const OPENTOPOMAP_TILE_ATTRIBUTION =
|
||||
'Map data: © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, SRTM | Map style: © <a href="https://opentopomap.org">OpenTopoMap</a> (CC-BY-SA)'
|
||||
export const OPENTOPOMAP_TILE_MAXZOOM = 17
|
||||
|
||||
/**
|
||||
* The basemap for a browser that will not give MapLibre a WebGL context (#2288).
|
||||
*
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
*/
|
||||
export const TRIP_TAB_IDS = [
|
||||
'plan',
|
||||
'tour-planner',
|
||||
'roadtrip',
|
||||
'transports',
|
||||
'buchungen',
|
||||
@@ -31,6 +32,7 @@ export type TripTabId = (typeof TRIP_TAB_IDS)[number]
|
||||
*/
|
||||
export const TRIP_TAB_LABEL_KEYS: Record<TripTabId, string> = {
|
||||
plan: 'trip.tabs.plan',
|
||||
'tour-planner': 'trip.tabs.tourPlanner',
|
||||
roadtrip: 'roadtrip.title',
|
||||
transports: 'trip.tabs.transports',
|
||||
buchungen: 'trip.tabs.reservations',
|
||||
|
||||
Reference in New Issue
Block a user