feat(tours): 3D terrain view with flyover and grade colours, imported tours carry no hiking difficulty

The tours map gets a 3D mode on the same map surface between the side panels:
a "3D" switch in the layer pill drapes the route over open Terrarium elevation
tiles (AWS Open Data), colours it by grade, plays a flyover tied to the
elevation profile in the rail, and keeps planning working by clicking and
dragging waypoints on the terrain. The corridor around the route is preloaded
before the flyover so the landscape never loads in front of the camera.

GPX imports no longer get a made-up hiking difficulty: max_hiking_difficulty
becomes nullable (new migration, waypoints kept), the import writes null and
the client shows no T badge for it. Drawn tours still default to T2.

Info hints in the planner show their tooltip only, and the discard
confirmation reads "Discard changes".
This commit is contained in:
Maurice
2026-10-14 12:30:10 +02:00
committed by Maurice
parent e7f2e17954
commit 98cc57942b
69 changed files with 3203 additions and 141 deletions
@@ -116,6 +116,8 @@ export interface MapViewProps {
routeProfileFocus?: RouteProfileFocus | null;
viewBaseLayer?: TourBaseLayer;
onViewBaseLayerChange?: (layer: TourBaseLayer) => void;
/** Offers the 3D terrain switch in the tour layer pill. */
onToggleTerrain3d?: () => void;
/**
* An explicit stretch of map to frame, independent of the day being shown.
*