trips/mock
Greg Pomerantz 7bdb455074 Route card: put walk/taxi on the leg popup; make the drop-off ride hoverable
Two fixes from the review of the rail rework:

- The airport→hotel "drop bags" ride was a special case: it was a structural
  row with no map line and no hover. It now draws a real polyline (airport →
  hotel) in renderMap and the rail row highlights it on hover / flies to it on
  click, exactly like every other route.
- The walk/taxi toggle no longer sits as a permanent "Getting around" block at
  the top of the rail. It lives on the route card — the popup a leg click opens
  (#l3-mode). It shows only for on-ground legs (a flight / train+bus segment has
  a fixed mode); flipping it re-estimates every on-ground leg and re-binds the
  open editor to the new leg (l3.idx). The L3 waypoint-drag handler now routes
  at the leg's actual mode instead of hardcoding 'foot'.

Verified: CDP — drop-off line drawn + hover highlights then restores (weight
5→7→5); clicking a leg opens the card with the toggle; Taxi flips travelMode +
shortens legs, card stays open + rebound (idx preserved); back to foot restores;
top toggle gone; 0 JS exceptions. Structural suite 13/13 still green.
2026-09-09 17:56:58 -04:00
..
scripts multi-trip mock + Colombia trip with a real walking router 2026-09-09 09:44:29 -04:00
app.js Route card: put walk/taxi on the leg popup; make the drop-off ride hoverable 2026-09-09 17:56:58 -04:00
data.js multi-trip mock + Colombia trip with a real walking router 2026-09-09 09:44:29 -04:00
index.html Route card: put walk/taxi on the leg popup; make the drop-off ride hoverable 2026-09-09 17:56:58 -04:00
server.js Re-date the whole plan on flight upload: stays, tabs, chips, title 2026-09-09 16:31:26 -04:00
styles.css Route card: put walk/taxi on the leg popup; make the drop-off ride hoverable 2026-09-09 17:56:58 -04:00