gpxstudio / gpx.studio

The online GPX file editor
https://gpx.studio/
MIT License
127 stars 20 forks source link

Feature Proposal: Zoom/Fit to track/layer #43

Closed N3XT191 closed 2 weeks ago

N3XT191 commented 1 month ago

I sometimes display tracks for multiple different hikes in different regions at the same time.

It would be very handy, if I could right-click a track in the vertical file list and have an option to "zoom to track" which automatically zooms and pans to the correct bounding box. I know that leaflet-js even has an option to do that on a code-level.

I'd probably put the option somewhere in this context menu.

Screenshot 2024-07-30 at 08 52 55
N3XT191 commented 2 weeks ago

Perfect, you keep being the best!

Took me a second to figure out how to do it on mobile, but ended up working with a long press on the track list at the bottom.

(mobile is ofc not the target device, but I do actually still use it from time to time when I don’t have a laptop/pc at hand)

IMG_6034