knitr::opts_chunk$set(fig.retina=2, fig.path = "README_figs/README-")
description <- readLines(system.file("DESCRIPTION", package='leaflet.esri')) rvers <- stringr::str_match(grep("R \\(", description, value = TRUE), "[0-9]{1,4}\\.[0-9]{1,4}\\.[0-9]{1,4}")[1,1] version <- gsub(" ", "", gsub("Version:", "", grep("Version:", description, value = TRUE)))
ESRI bindings for the leaflet package, based on the ESRI leaflet plugin. This package is part of the leaflet ecosystem of R packages for web mapping.
Compatibility Matrix
As of Feb, 2017 the leaflet R package is based on version 0.7.7 of the Leaflet Javascript library and therefore the leaflet.esri package is based on version 1.0.4 of esri-leaflet Jaascript library which is the last release compatible with the 0.7.x branch of Leaflet JS. The chart below shows more details.
| Leaflet JS ver. | R Leaflet pkg ver. | esri-leaflet JS Plugin ver. | R leaflet.esri pkg ver.| | --------------- | ------------------ | --------------------------- | -------------------- | | 0.7.x | 1.1 | 1.0.4 | 0.2.x | | 1.3.1 | 2.0.0 | 2.1.4 | 1.0.0 |
NOTE It may not be possible to implement each and every feature and if so the documentation will be updated accordingly. Each feature which is implemented has a tick mark (✔️) next to it. Any description you find in this section is directly taken from the esri-leaflt API reference.
Layers provide visualization capabilities for data hosted in Feature Services, Map Services and Image Services.
Tasks are wrappers for commonly used API methods on ArcGIS services. They expose commonly used parameters to make them more accessible to Leaflet.
Event types common across components of Esri Leaflet. ✔️
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.