gpxviewer icon indicating copy to clipboard operation
gpxviewer copied to clipboard

Viewing elevation/time

Open pcurrier opened this issue 7 years ago • 0 comments

Just an FYI -- I needed a bit of extra functionality, specifically the ability to see the time/elevation at any point along the track. So for each polyline I added an onclick handler that opens an info window, centered on the nearest track point neighbor to the click location, that shows the time/elevation for that point. The nearest neighbor is found by storing all points in a quadtree (https://github.com/d3/d3-quadtree).

If you'd like to include these changes, I can submit a pull request for you. If not, that's fine too.

https://github.com/pcurrier/gpxviewer

pcurrier avatar Apr 30 '17 14:04 pcurrier