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
Hashes for django-leaflet-storage-0.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f00bc67fbd7b6ae162b5802f44f6a3d164af6f6441f45e59045d6e340f143aea |
|
MD5 | 07e018af54deafe127cbef11c46ba035 |
|
BLAKE2b-256 | d234d37d8a9c3a70d848b73a89bcc911047c287742ce54a4ba01fce78539cdd4 |