Adds a ArcGIS Basemap layer
addEsriBasemapLayer(map, key, autoLabels = FALSE, layerId = NULL, group = NULL, options = NULL)
The leaflet map
ID of the layer
whether to show corresponding labels layer
Unique ID for the layer
The group this layer belongs to.
Basemap Layer Options. You can pass tileOptions().
tileOptions()
# NOT RUN { leaflet() %>% addEsriBasemapLayer(esriBasemapLayers$Oceans, autoLabels = TRUE) # }
Run the code above in your browser using DataLab