-
Notifications
You must be signed in to change notification settings - Fork 2
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
mapview::mapshot() and htmlwidgets::saveWidget() not working to export as .html #4
Comments
Have you seen r-spatial/mapview#35? |
Thanks for the reply Tim. I did see that post though it didn't work for my case scenario. I was looking for a option inside mapview package but i don't think there is. Luckily i work around my problem and solve it. |
Hi, But it is giving me the below error Same error as the discussion in this thread above, Can anyone explain what exactly is this error, then it would be helpful for me to fix it. |
I was facing the same issue as aito123. I synced my maps in RStudio and from the Viewer tab zoomed to the maps. Then from the Viewer tab when I chose export I saw an option "Save as Web Page". I chose that option, and a stand alone html was created, which allowed me to zoom and use pop-up features in the html. I am using RStudio version 2022.07.01 Build 554. |
Hello i think this should be addressed:
i have two mapview or leaflet objects:
peru_sync<- sync(peru_mapa1, peru_mapa2)
and when i try to save them as a .html file this happens:
mapshot(peru_sync, url = "peru_mapa_sync.html")
Error in .getNamespace(pkg) : invalid type/length (symbol/0) in vector allocation
Help, thanks
The text was updated successfully, but these errors were encountered: