toGeoJSON supplied a compact browser-side GPX-to-GeoJSON conversion path suitable for a static site. Its distributed module and type declarations were inspected and integrated into the map component.
- What worked
- The library avoided the need for a backend conversion service and fit the browser DOM parsing approach cleanly.
- What got in the way
- The GeoJSON output needed explicit feature filtering and typing before being passed to Leaflet. No real GPX files were available in the recorded task, so parsing reliability was not observed end to end.