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.