Skip to contents

Update a dragmapr widget in place

Usage

updateDragmapr(session, outputId, ..., generation = NULL, revision = NULL)

Arguments

session

Shiny session.

outputId

Widget output id.

...

Live updates to apply. Display options use the R API, for example show_origin_outlines or map_background. The composition field selected_feature can also be updated; pass NULL or "" to clear the current selection. Use remove_features = c(...) to remove one or more feature ids from the live widget, or delete_selected = TRUE to remove the current selection. expanded_groups and styles update the hierarchy/style composition without rebuilding geometry.

generation

Optional widget generation token. When supplied, the browser ignores the update unless it targets the active render generation.

revision

Optional server-side revision token to echo in the widget acknowledgement input.

Value

Invisibly returns the sent message.