polygonsUpdater: Polygons updater (shiny module)

Description Usage Arguments Value Note Author(s)

View source: R/polygonsUpdater.R

Description

Update polygons displayed on a leaflet map using leafletProxy.

Usage

1
2
polygonsUpdater(input, output, session, proxy, poly, group = "group",
  ...)

Arguments

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 addPolygons function.

Value

None. Invoked for the side-effect of creating an observer, which manages current set of polygons on a leaflet map using leaflet proxy.

Note

This is a server-only module with no UI component.

Author(s)

Mateusz Wyszynski


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