Display a SpatialPolygons* objects on a leaflet map.

visualizePolygonsUI(id, ...)

visualizePolygons(input, output, session, poly, proxy = NULL)

Arguments

id

An id string that corresponds with the id used to call the module's UI function.

...

Additional parameters passed to link[leaflet]{leafletOutput}.

input

shiny server input object

output

shiny server output object

session

shiny server session object

poly

Reactive value with polygon to visualize.

proxy

Proxy to a leaflet map on which polygons should be displayed. See leafletProxy

Value

None. Invoked for the side-effect of generating UI for a leaflet map.

None. Invoked for the side-effect of rendering leaflet map.