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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28c7746c295272f01f3c8849f53e9e357ce76a1618d5f7b16e8aadf546d5ad40 |
|
MD5 | 6d5b89b0267d850c042adf521fab006b |
|
BLAKE2b-256 | 6f747a0cc065e675df35d92ea9c2e2c89f8713e32ebe446e464d84cbb2b174d5 |
Hashes for django_leaflet_storage-0.7.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79682830ec5c8c5f0b08ac43c944ce68058730b18e3ffcba4e1f346a2ad52965 |
|
MD5 | d6636bcb24735c8dfd4aa6a4929d2880 |
|
BLAKE2b-256 | f9446fc6103482818fdc62c1504cf18a3baf51cc1454a2e3c0bc11d6f6333f93 |