leaflet.minichart icon indicating copy to clipboard operation
leaflet.minichart copied to clipboard

syncWith() causes maps freeze

Open dkyleward opened this issue 4 years ago • 2 comments

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.

dkyleward avatar Nov 22 '19 17:11 dkyleward