Set popup on a map layer
Arguments
- map
A map object created by the
mapboxglormaplibrefunction, or a proxy object.- layer_id
The ID of the layer to update.
- popup
Popup content: a column name, a
{brace}template, or aconcat()/number_format()expression.- layer
Deprecated. Use
layer_idinstead.- style
Optional popup appearance: a preset string (
"light"or"dark") or atooltip_style()/popup_style()object.
