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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32d8e18287dc582a7955ccbd3a14d6cc3bfa0da4cdafede2e294fe664f79609c |
|
MD5 | 64906bc0ccb0f8aef34ec097fb6e92d1 |
|
BLAKE2b-256 | c755f10f4694cd23947f40bf30ded8821de9e15df97f2471af3695a3633eab18 |
Hashes for django_leaflet_storage-0.7.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c443a03a8090268bd18e12471e83197d8d1a319c2e01f00a7d152badc730ff4 |
|
MD5 | 382c498efb12592302157c508475ea4b |
|
BLAKE2b-256 | 770f2f28d36cecf5772e488df7f087476df761e367f0a9775200e870e7c66411 |