larsen / rando-planner

Clerk viewers and utils to plan bikepacking trips
https://rando-planner.stefanorodighiero.net/
4 stars 0 forks source link

Display segments of the GPX track, as defined by the plan #7

Closed larsen closed 6 months ago

larsen commented 6 months ago

The plan implicitly defines different segments of the GPX track. I mean those defined by the different :daily-plans in the plan definition. There should be a way to display these segments, for example with a different color. This should be possible using leaflet-gpx line styling facility. Another option could be to just split the GPX into multiple GPX tracks, according to start and end kilometers they should represent

larsen commented 6 months ago

Another option, probably simpler, is to use markers on the GPX map. Maybe I can use gpx/group-by-kilometer together with plan/daily-kilometers.

larsen commented 6 months ago

Status, using markers

Image