Esri Leaflet GP
an Esri Leaflet plugin for interacting with geoprocessing services published with ArcGIS Server and the analysis services hosted in ArcGIS Online.
Esri Leaflet GP relies on the minimal Esri Leaflet Core which handles abstraction for requests and authentication when necessary.
Note that the latest version of this plugin requires a minimum of esri-leaflet 2.0.0.
The demos below show the plugin in action
- calculate a drivetime polygon
- generate an elevation profile
- route to the closest facility
- solve a vehicle routing problem
gp drivetime<!-- Load Leaflet from CDN--><!-- Load Esri Leaflet from CDN --><!-- Esri Leaflet GP -->
- Fork and clone Esri Leaflet GP
esri-leaflet-gpfolder and install the dependencies with
npm startfrom the command line. This will compile minified source in a brand new
distdirectory, launch a tiny webserver and begin watching the raw source for changes.
- The example at
debug/sample.htmlshould 'just work'
- Make your changes and create a pull request
Esri Leaflet GP relies on the minimal Esri Leaflet Core which handles abstraction for requests and authentication when necessary. You can find out more about Esri Leaflet from the Esri Leaflet Quickstart.
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.
Terms and Conditions
- Once you have an account you are good to go. Thats it!
- If you use this library in a revenue generating application or for government use you must upgrade to a paid account. You are not allowed to generate revenue while on a free plan.
Copyright 2017 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.txt file.