6eaa00d61253c17f4a82b38539a0915c7935ee10
The home map was drawing an initial addJourneyLine, then trying to remove layer 'home-journey' in the Promise.all callback — but addJourneyLine names the layer 'home-journey-line', so removeLayer was a no-op and removeSource failed (layer still referencing the source), leaving a ghost line on top of the GPX tracks. Extract the Promise.all → GPX tracks → buildJourneySegments → addJourneySegments pattern into MapUtils.renderGpxJourney() and replace both map.html.twig and home.html.twig with the shared call. No upfront journey line is drawn — the function handles the no-GPX case correctly via Promise.all([]). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Vgmzx8VTTTmCskSpQtsLTr
Description
No description provided
Languages
CSS
60%
Twig
18.7%
SCSS
17%
JavaScript
2.5%
PHP
1.8%