Leaflet plugins for consuming ArcGIS Online and ArcGIS Server services.
We've written loads of demos showing many of the features of Esri Leaflet.
Here is a quick example to get you started. Just copy/paste into your own
.html file and run.
<!-- Load Leaflet from CDN--><!-- Load Esri Leaflet from CDN -->
If you are interested in contributing to Esri Leaflet or seeing what is coming up next check out the development roadmap.
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Please take a look at previously logged issues that resolve common problems.
Feel free to add your own project to this list!
In order to compile the API yourself and/or run the tests, make sure you have the Grunt CLI installed.
gruntfrom the command line. This will start the web server locally at http://localhost:8001 and start watching the source files and running linting and testing commands.
For transparency into the release cycle and in striving to maintain backward compatibility, Esri Leaflet is maintained under the Semantic Versioning guidelines and will adhere to these rules whenever possible.
Releases will be numbered with the following format:
And constructed with the following guidelines:
For more information on SemVer, please visit http://semver.org/.
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.
L.esri.Layers.DynamicMapLayeroriginally used code from https://github.com/sanborn/leaflet-ags/blob/master/src/AGS.Layer.Dynamic.js
L.esri.Layers.TiledMapLayeradapts some code from https://github.com/gisinc/arcgis-level-fixer
Copyright 2015 Esri
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
A copy of the license is available in the repository's LICENSE file.