connect
connect copied to clipboard
Replace static route map with interactive map showing realtime position
Resolves #213 and #222.
This replaces the static route image that was being generated by the mapbox API and replaces it with an interactive Leaflet map. It adds pan and zoom support, and also shows a marker for the location of the device during replays with an option to keep it centered while replaying. It also adds support for clicking on a route point to go to that part of the timeline.
I wrote a more complete description of the actual issue:
https://github.com/commaai/connect/issues/221#issuecomment-1174864971