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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5355cc1ded35cde8bebb7c0ae8659d02088ba35e9cf0a264ee86d223af54759a |
|
MD5 | 5f100343656682cffb3a624b27670e6d |
|
BLAKE2b-256 | 15f9ad7193432578499c8c45e49f3c00833a13c79bc59fcc436c66e08ed23d0d |
Hashes for django_leaflet_storage-0.6.8-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a31a039c3d55818aecf7b73c45201c9d21f302298d048d0d569e617235f37af |
|
MD5 | 1035eee957f94c7cc4ed716ccdc93d64 |
|
BLAKE2b-256 | 920e6631708b9b92dbd208a0e24d6f07185d2801530f13781185afc499320fb5 |