CHAPTER 4 · MP

Map & Chart↔Map Linking

MP-01The route MUST be displayed on an interactive map alongside the chart.
MP-02Linking MUST be bidirectional: hovering a candle highlights the corresponding distance segment on the map; hovering/scrubbing along the route moves the crosshair to the corresponding candle on the chart.
MP-03The map MUST use Leaflet with OpenStreetMap raster tiles — no API keys, no accounts. A dark tile variant MUST be used in dark mode (e.g. a CSS filter on standard tiles or a keyless dark tile source).
MP-04The route MUST be drawn segmented by the currently selected aggregation window (CH-02): each segment is one contiguous polyline section coloured uniformly by that segment's average speed on a red(slow)→green(fast) scale matching candle colours. Changing the window re-segments and re-colours the route, keeping map and candles 1:1.
MP-05The map MUST show start and finish markers and small dots at every kilometre split.