R/shiny.R
set_popup.Rd
Set popup on a map layer
set_popup(map, layer_id = NULL, popup, layer = NULL)
A map object created by the mapboxgl or maplibre function, or a proxy object.
mapboxgl
maplibre
The ID of the layer to update.
The name of the popup property or an expression to set.
Deprecated. Use layer_id instead.
layer_id
The updated map object.