R/polygonChooser.R
polygonChooser.Rd
Provides a dropdown list of polygons available for mapping, sorted alphabetically.
polygonChooserUI(id) polygonChooser(input, output, session, rctPolygonList, selectedPoly = NULL, uploadOpts = list(auth = NULL, path = NULL, user = NULL), studyArea = NULL)
id | An id string that corresponds with the id used to call the module's UI function. |
---|---|
input | shiny server input object |
output | shiny server output object |
session | shiny server session object |
rctPolygonList | A reactive nested list with the following structure: # TODO: fill this in |
selectedPoly | The name of the polygon to select by default. |
uploadOpts | A list of options for use with file uploads:
|
studyArea | A |
A reactive list with elements polygons
(a list of polygons) and
selected
(the name of the selected polygon).