-
Notifications
You must be signed in to change notification settings - Fork 14
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
Switch base map #35
Comments
@Robinlovelace This is really interesting. Thanks for sharing. I am looking into it. |
@Robinlovelace I've just added an option to change the base of the map. Please have a look at it - 19d4c88 |
@usr110 done. may be good to make this more subtle - a floating tick-box? |
@Robinlovelace I was thinking about it. Depends on how many options are we going to give users? A radio button is more useful, I believe. What say? |
@Robinlovelace Like this - 8b8a43c |
I say radio buttons is a good solution, as long as it does not make the right hand bar too long. |
We can set the basemap to anything listed here and probably more:
http://leaflet-extras.github.io/leaflet-providers/preview/index.html
Specifically, I think the OpenCycleMap image could be of use in some cases. This can be added by:
'http://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png'
.Is there a way to allow the user to switch the base map 'live', like this?
The text was updated successfully, but these errors were encountered: