-
Is there a way to initiate a new leafmap without loading the OpenStreetMap as the base map? If I use m.add_basemap(basemap="Stamen.TonerLite") to load my base map of choice, the OpenStreetMap is still loaded, and it is covered by my base map of choice. I would have to manually uncheck the OpenStreetMap from the setting to turn it off. Is there a better way to do this? Thanks a lot. |
Beta Was this translation helpful? Give feedback.
Answered by
giswqs
Oct 16, 2021
Replies: 1 comment 3 replies
-
Try this: m = leafmap.Map()
m.clear_layers()
m.add_basemap("Stamen.TonerLite")
m |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
giswqs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try this: