set_popup | R Documentation |
Set popup on a map layer
set_popup(map, layer_id = NULL, popup, layer = NULL)
map |
A map object created by the |
layer_id |
The ID of the layer to update. |
popup |
The name of the popup property or an expression 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.