You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a plain leaflet map, we can use htmlwidgets::onRender() in order to perform an action when the map finishes rendering.
When using leafletProxy() to update a map, I don't think there's any way to know when the rendering of the update finished.
Here's an example shiny app, when you press the button it adds polygons. I would like to have some signal or callback when the rendering is complete. Even just triggering shiny's outputinvalidated javascript event would be a step in the right direction.
With a plain
leaflet
map, we can usehtmlwidgets::onRender()
in order to perform an action when the map finishes rendering.When using
leafletProxy()
to update a map, I don't think there's any way to know when the rendering of the update finished.Here's an example shiny app, when you press the button it adds polygons. I would like to have some signal or callback when the rendering is complete. Even just triggering shiny's
outputinvalidated
javascript event would be a step in the right direction.The text was updated successfully, but these errors were encountered: