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.7.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f816b3d946b2f7905f0591a67ad1f0e9c4c6dbb0f9487d3f56022da7333347f |
|
MD5 | b2157ff25e7194f30f651231ff1f6019 |
|
BLAKE2b-256 | bb2f12775b8c5bee04a6b2ae3afe544eeadcd17defa87dcb288889d0f6e80bec |
Hashes for django_leaflet_storage-0.7.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c71ae6f309a969bc2f836b23ffc5e4a64f3b46a6a5e7813a864f990aad5c5047 |
|
MD5 | 3f9e1c94755d3603474ccdb53fd24c1e |
|
BLAKE2b-256 | 42e04bf57739a4fc2b429981053510af0986f59de24f72c22ce013b115f6a539 |