Skip to content
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

syncWith() causes maps freeze #10

Open
dkyleward opened this issue Nov 22, 2019 · 2 comments
Open

syncWith() causes maps freeze #10

dkyleward opened this issue Nov 22, 2019 · 2 comments

Comments

@dkyleward
Copy link

Truly awesome package by the way!

The following code creates the synced maps, but after panning around for 5-10 seconds, they freeze. This happens in the preview window and in a browser.

library(leaflet)
library(leaflet.minicharts)
library(manipulateWidget)

map1 <- leaflet() %>% addTiles() %>% syncWith("maps")
map2 <- leaflet() %>% addTiles() %>% syncWith("maps")

combineWidgets(map1, map2)

It looks like syncing packages have been re-organized into a package called leafsync. I can sync basic maps using leafsync without any freezing, but any minicharts don't pan with the map. Thanks for any help you can provide.

@FrancoisGuillem
Copy link
Contributor

Hi,

Sorry for the late answer.
I cannot reproduce the issue. Is it still a problem? Have you tried to update your packages?

@dkyleward
Copy link
Author

No worries. I tackled the problem using something else. For what it's worth, all my packages look up to date (at least compared to CRAN). I'm using:

R 4.0.2
Rstudio 1.3.959
leaflet 2.0.3
leaflet.minicharts 0.6.0
manipulateWidget 0.10.1

When I originally posted this, I'm pretty sure I was using R 3.6.3, but I'm using 4 now with the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants