This is a dependency of layerboard and is used by layerboard to create an app out of an AGO Webmap.
The original repo is listed in https://esri.github.io/esri-leaflet/plugins/ as the official Esri Leaflet way to create an app from an AGO Webmap, but it has been mostly abandoned.
We use our own fork as a dependency so that we can make our own changes to it and it's dependencies.
There is more information about all forked repos in the phila-vue-mapping wiki
This project includes updates made by the City of Philadelphia, to work with the project OpenMaps.
A plugin to display ArcGIS Web Map on Leaflet maps.
You can see it with just 1 line code.
// L.esri.WebMap(webmapId, { map: L.Map });
var webmap = L.esri.webMap('22c504d229f14c789c5b49ebff38b941', { map: L.map('map') });
Web Map has an enormous spec. So, welcome your contributions to support fully!
You can see your web maps (that are open to the public) with URL parameter as the below.
http://ynunokawa.github.io/L.esri.WebMap/index.html?webmap=[your webmap id]
- Various styles for a feature layer
- 2 ArcGIS WebMaps in 1 leaflet map
- FeatureCollection, CSV, KML and WMS
- Fork and clone L.esri.WebMap
cd
into theL.esri.WebMap
folder- Install the dependencies with
npm install
- Run
npm start
from the command line. This will compile minified source in a brand new dist directory, launch a tiny webserver and begin watching the raw source for changes. - Run
npm test
to make sure you haven't introduced a new 'feature' accidentally. - Make your changes in its own topic branch and create a pull request
Please see here.
Copyright 2016 Yusuke Nunokawa.
MIT.