Skip to content

CityOfPhiladelphia/L.esri.WebMap

 
 

Repository files navigation

CityOfPhiladelphia's fork of L.esri.WebMap

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


Build Status

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!

Demo

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]

Development Instructions

  1. Fork and clone L.esri.WebMap
  2. cd into the L.esri.WebMap folder
  3. Install the dependencies with npm install
  4. 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.
  5. Run npm test to make sure you haven't introduced a new 'feature' accidentally.
  6. Make your changes in its own topic branch and create a pull request

Limitations

Please see here.

License

Copyright 2016 Yusuke Nunokawa.

MIT.

Packages

No packages published

Languages

  • JavaScript 84.2%
  • HTML 14.3%
  • Shell 1.5%