Set tooltip 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.
- tooltip
Tooltip content: a column name, a
{brace}template, or aconcat()/number_format()expression.- layer
Deprecated. Use
layer_idinstead.- style
Optional tooltip appearance: a preset string (
"light"or"dark") or atooltip_style()object.
