-
Notifications
You must be signed in to change notification settings - Fork 77
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
Allow user to add custom layers #77
Conversation
Nice feature, thanks! |
@krisanselmo you can give it a shot on http://brouter.damsy.net |
eaf0bd5
to
8dcf23b
Compare
Very nice addition! Indeed useful for regional, personal-use-only (German agencies also have these) and other not included maps. Not relevant for merging, but what do you think about adding the button inside the layer switcher (e.g. just a quick hack)? I feel we should rather reduce the number of buttons on the map if not needed in daily use. If you wanted, I guess it might even make sense to turn this into a Leaflet plugin. |
@krisanselmo I added the Strava heatmap to my todo list of potential layers to add. Would need to check the terms of use. I'm generally open for map suggestions, but would want to avoid having too many layers in the list. |
Yeah sure it sounds good. Small fix first, the button should have
Yes indeed - don't know if I'll have the time for it though. |
Thanks for the hint.
Good catch, but would it matter if it stays Generally the hack was really just that, and more for me to see if adding a button would work at all and to show what I meant, not how to do it. There probably are better ways, perhaps none of them ideal. I haven't looked deeper, just saw that |
Merged this now and created a separate issue for moving the button into the layer switcher: #89 |
Copied from bagage@82c9820 (dev), missing in bagage@8dcf23b (feature/user-layers).
This would solve #73 but also my issue, eg. a French (super)great TMS which is for "single user" access only, so we cannot add it to Brouter but as a user I can :).