Create collaborative maps on top of Geodjango and Leaflet.
Project description
Important
Version 0.5 totally review the modelisation: instead of one model per feature (Marker, Polygon, Polyline), now all data are stored as geojson attached to the DataLayer.
Django-Leaflet-Storage
Provide collaborative maps for your Django project.
Django-Leaflet-Storage is a backend for Leaflet.Storage, built on top of Geodjango and Leaflet.
Check the demo here
Maintained repositories
Installation
Then you can pip install the app:
pip install django-leaflet-storage
Add leaflet_storage to you apps:
INSTALLED_APPS = ( ... "leaflet_storage", )
Include leaflet_storage urls:
(r'', include('leaflet_storage.urls')),
Create tables (add –migrate if you are using South:
python manage.py syncdb --migrate
Basic usage
From the Django admin (for now), you need to create at least:
one TileLayer instance
one Licence instance
Then, go to the map creation page (something like http://localhost:8017/map/new), and you will be able to add features (Marker, Polygon…).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django-leaflet-storage-0.6.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14939ba133e81085da44f0f67e78c022480909958e5120594cee78f854aa7216 |
|
MD5 | 232003b10c76265d55301a82fe54f9c7 |
|
BLAKE2b-256 | 4223126c0ef9b4d749679bfdee8a1f3b87f86a1e744db882833b54916f3c8057 |
Hashes for django_leaflet_storage-0.6.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14b149244cbcb1010a4ed8cb6b8fe7759a84557d912381636b783672c042bafc |
|
MD5 | 4d6c43e84a0ac6f8f018271c43317f65 |
|
BLAKE2b-256 | 130ccdec48fedeb2afeeb6c84976ef5c0bfd850bc8d0cd6f90d745f73529f3bb |