aktionskarten.js
v1.0.0-alpha
Published
aktionskarten.js is a client library for creating interactive maps for aktionskarten.org
Readme
aktionskarten.js 
aktionskarten.js is our client library for creating interactive maps for https://www.aktionskarten.org. It uses a ReST api as backend and for rendering it's based on leaflet with the following plugins:
Leaflet itself is a bit customized. See src/leaflet/index.js for our changes.
Quickstart
If you just want to use a precompiled version, install it via npm
$ npm i aktionskarten.jsOtherwise compile by hand with help of npm and webpack:
Clone and install dependencies
$ git clone github.com/aktionskarten/aktionskarten.js
$ cd aktionskarten.js
$ npm install --devTo compile the actually library
$ npm run buildYou should now have dist directory where the actual javascript, css and images are located. There is as well a demo index.html to test with.
To run an interactive dev server, type in the following:
$ npm run devLicences
| Package | License | |----------------------|----------------------| | Leaflet | 2-clause BSD License | | Leaflet.editable | WTFPL | | Leaflet.StyleEditor | MIT | | aktionkarten.js | MIT |
