set_tooltip | R Documentation |
Set tooltip on a map layer
set_tooltip(map, layer_id = NULL, tooltip, layer = NULL)
map |
A map object created by the |
layer_id |
The ID of the layer to update. |
tooltip |
The name of the tooltip to set. |
layer |
Deprecated. Use |
The updated map object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.