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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d60b78c5983d7dfbd43dfe6160beaa3c7c018d5d968d0d5b50bcc3c75e2fd82c |
|
MD5 | a80fcb3a7b4e29f4e0d8f58f0e87f3fb |
|
BLAKE2b-256 | f08ff003ea96fccb36daf74430400d0288166a787c48c57cab4d9894ee8e61f5 |
Hashes for django_leaflet_storage-0.7.5-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dba1cde3aee04ccf7e66ab3fb82490914051e8579cc0ecbd5ab38cc12d23ff07 |
|
MD5 | 19e461fdaa2962dbca90548071f89728 |
|
BLAKE2b-256 | 37abdcfa3820dc5d12ebf4194132aedff74a5fe843061ee796d7de6085c46960 |