-
Notifications
You must be signed in to change notification settings - Fork 92
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
Removing zoom to option #56
Comments
@wandab, please include reproducible code next time. I include some code below to accomplish removal of the zoom-to home buttons.
|
Many thanks for the reply. I have used a very simple code: And according to this the zoom to function appears automatically on the map. Your code didn't work for me. |
@wandab, please include the error next time. I spotted the error and fixed in the above reply. Also, I have added a reproducible example that seems similar to your objective.
|
This worked, thank you. |
This can also easily be avoided by setting library(mapview)
library(sp)
data("meuse")
coordinates(meuse) <- ~x+y
proj4string(meuse) <- CRS("+init=epsg:28992")
mapview(meuse, zcol = "soil", burst = TRUE, homebutton = FALSE) |
In case someone lands on this old page via a web search, note that mapview now has a function, For example:
|
Hi,
How do you remove the 'zoom to' option from the map? See attached picture, under the legend.
Many thanks,
Wanda
The text was updated successfully, but these errors were encountered: