Description Usage Arguments Value Note Author(s)
View source: R/polygonsUpdater.R
Update polygons displayed on a leaflet map using leafletProxy
.
1 2 | polygonsUpdater(input, output, session, proxy, poly, group = "group",
...)
|
input |
shiny server input object |
output |
shiny server output object |
session |
shiny server session object |
proxy |
Leaflet proxy which manages a connected leaflet map. |
poly |
A reactive containing a polygon to be displayed on the leaflet map. |
group |
Group of polygons we want to update. |
... |
Additional parameters of |
None. Invoked for the side-effect of creating an observer, which manages current set of polygons on a leaflet map using leaflet proxy.
This is a server-only module with no UI component.
Mateusz Wyszynski
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.