Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

addEsriBasemapLayer

Adds a ArcGIS Basemap layer


Description

Adds a ArcGIS Basemap layer

Usage

addEsriBasemapLayer(map, key, autoLabels = FALSE, layerId = NULL,
  group = NULL, options = NULL)

Arguments

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 tileOptions().

Examples

leaflet() %>%
   addEsriBasemapLayer(esriBasemapLayers$Oceans, autoLabels = TRUE)

leaflet.esri

'ESRI' Bindings for the 'leaflet' Package

v1.0.0
GPL-3 | file LICENSE
Authors
Bhaskar Karambelkar [aut, cre], Barret Schloerke [aut], Patrick Arlt [ctb, cph] (esri-leaflet, esri-leaflet-cluster, esri-leaflet-geocoder, and esri-leaflet-heatmap libraries), Rachel Nehmer [ctb, cph] (esri-leaflet-renderers library), Vladimir Agafonkin [ctb, cph] (leaflet.heat and simpleheat libraries), Leaflet [ctb, cph] (leaflet.markercluster library)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.