mapdeck_update: Mapdeck update

Description Usage Arguments

View source: R/mapdeck_map.R

Description

Update a Mapdeck map in a shiny app. Use this function whenever the map needs to respond to reactive content.

Usage

1
2
3
4
5
6
7
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


mapdeck documentation built on Sept. 4, 2020, 9:07 a.m.