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
mapdeck_update(map_id, session = shiny::getDefaultReactiveDomain(),
  data = NULL, deferUntilFlush = TRUE)

Arguments

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.

data

data to be used in the map. All coordinates are expected to be in Web Mercator Projection

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.


mapdeck documentation built on Jan. 22, 2019, 5:04 p.m.