Description Usage Arguments Examples
View source: R/basemapLayers.R
Adds a ArcGIS Basemap layer
1 2 |
map |
The leaflet map |
key |
ID of the layer |
autoLabels |
whether to show corresponding labels layer |
layerId |
Unique ID for the layer |
group |
The group this layer belongs to. |
options |
Basemap Layer Options. You can pass |
1 2 | leaflet() %>%
addEsriBasemapLayer(esriBasemapLayers$Oceans, autoLabels = TRUE)
|
Loading required package: leaflet
Loading required package: leaflet.extras
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.