mapdeck_update {mapdeck} | R Documentation |
Mapdeck update
Description
Update a Mapdeck map in a shiny app. Use this function whenever the map needs to respond to reactive content.
Usage
mapdeck_update(
data = NULL,
map_id,
session = shiny::getDefaultReactiveDomain(),
deferUntilFlush = TRUE,
map_type = c("mapdeck_update", "google_map_update")
)
Arguments
data |
data to be used in the layer. All coordinates are expected to be EPSG:4326 (WGS 84) coordinate system |
map_id |
string containing the output ID of the map in a shiny application. |
session |
the Shiny session object to which the map belongs; usually the default value will suffice. |
deferUntilFlush |
indicates whether actions performed against this instance should be carried out right away, or whether they should be held until after the next time all of the outputs are updated; defaults to TRUE. |
map_type |
either mapdeck_update or google_map_update |
[Package mapdeck version 0.3.5 Index]