mapview icon indicating copy to clipboard operation
mapview copied to clipboard

sync with flexdashboard

Open scottyaz opened this issue 6 years ago • 2 comments

Not sure if this is a mapview or a flexdashboard issue (probably the latter) but sync() doesn't seem to work within a flexdashboad. Minimal reproducible example here.

scottyaz avatar Aug 31 '18 07:08 scottyaz

@scottyaz I think it is related to https://github.com/r-spatial/mapview/issues/35 In short, sync doesn't create an htmlwidget, it just arranges multiple widgets on one page. I'm planning to investigate if manipulateWidget could be used to create synced maps. Maybe you could try to go down that road in your dashboard?

tim-salabim avatar Sep 01 '18 11:09 tim-salabim

I had this exact same issue today! Not sure if the manipulateWidget solution has been written down somewhere? But this example worked for leaflet map sync in flexdashboard.

shriv avatar Jan 28 '20 02:01 shriv