visualizePolygons: Visualize 'SpatialPolygons*' (shiny module)

Description Usage Arguments Value

View source: R/visualizePolygons.R

Description

Display a SpatialPolygons* objects on a leaflet map.

Usage

1
2
3
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.


PredictiveEcology/SpaDES.shiny documentation built on Nov. 11, 2019, 7:12 p.m.