1.0.0-alpha • Published 2 years ago

aktionskarten.js v1.0.0-alpha

Weekly downloads
1
License
MIT
Repository
-
Last release
2 years ago

aktionskarten.js Build Status

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.js

Otherwise 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 --dev

To compile the actually library

$ npm run build

You 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 dev

Licences

PackageLicense
Leaflet2-clause BSD License
Leaflet.editableWTFPL
Leaflet.StyleEditorMIT
aktionkarten.jsMIT