View source: R/leaflet_inplace.R
setShapeLabel | R Documentation |
setShapeLabel from https://github.com/rstudio/leaflet/pull/598
setShapeLabel(
map,
data = leaflet::getMapData(map),
layerId,
label = NULL,
options = NULL
)
map |
Leaflet map object |
data |
Leaflet map data |
layerId |
Layer to manipulate |
label |
Labels to add |
options |
Options to add |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.