Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewing elevation/time #5

Open
pcurrier opened this issue Apr 30, 2017 · 0 comments
Open

Viewing elevation/time #5

pcurrier opened this issue Apr 30, 2017 · 0 comments

Comments

@pcurrier
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant