trails/openspec/changes
Ullrich Schäfer 3345ef127e
Add bidirectional elevation chart ↔ map interaction
Three new interactions:

1. Route hover → chart: Invisible interactive polyline (weight 20,
   opacity 0) detects mouse hover on the route, computes cumulative
   distance, and highlights the corresponding position on the chart.

2. Chart click → map pan: Clicking the elevation chart pans the map
   to center on that point along the route. Uses 5px threshold to
   distinguish from drag.

3. Chart drag-select → map zoom: Dragging a range on the chart shows
   a blue selection overlay, then zooms the map to fit the route
   coordinates in that range. "Reset zoom" button appears to restore
   the full route view.

State flow avoids feedback loops: external highlights (from map hover)
set the chart crosshair without re-emitting onHover back to the map.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-12 19:23:37 +02:00
..
activity-photos Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
archive Add road type color mode to route visualization 2026-04-11 11:13:43 +02:00
changelog Add 8 proposed changes and old trails analysis 2026-03-25 03:57:20 +01:00
e2e-test-reorganization Update route-coloring spec with all 10 modes, create follow-up changes 2026-04-11 11:20:17 +02:00
elevation-map-interaction Add bidirectional elevation chart ↔ map interaction 2026-04-12 19:23:37 +02:00
journal-poi-details Update route-coloring spec with all 10 modes, create follow-up changes 2026-04-11 11:20:17 +02:00
komoot-import Add 8 proposed changes and old trails analysis 2026-03-25 03:57:20 +01:00
local-dev-stack Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
route-discovery Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
route-features Add 8 proposed changes and old trails analysis 2026-03-25 03:57:20 +01:00
route-sharing Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
visual-redesign Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00
waypoint-notes Fix all OpenSpec validation failures (36/36 passing) 2026-04-06 22:17:52 +02:00