-
Notifications
You must be signed in to change notification settings - Fork 68
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
Feature/load gpx track #240
Conversation
Use leaflet-filelayer to load kml, gpx, geojson, json tracks and display them as new Overlay layer.
Hey @matzepan, welcome aboard! Thanks for your contribution, it is one of the most asked-for feature. From what I've seen it's looking good, albeit a minor issue: it looks like tracks are declared as interactive layers but it seems they are not: Good work! |
@bagage this is also a feature that I wanted badly. |
What about keeping the loaded track in a URL parameter for easy sharing of the full view? For instance by encoding the polyline with |
@Phyks I don't know if it makes sense to put these into the URL. Especially if this means blowing up the URL length. |
It makes sense to have it to easy share the view with someone else / another computer. But indeed it probably does not make sense to have it in the URL and risk blowing the URL length. Maybe BRouter-web should have something like Overpass to shorten links and share easily (including custom profiles, etc). |
Great contribution, thanks! |
Added the ability to load tracks (kml, gpx, geojson, json) using leaflet-filelayer and display them as new Overlay layer.
Addresses: #30