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.12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05b172cc6e700d2ac565e548ae2ed5724cbdbbb89e2eaf6a67de929dec512880 |
|
MD5 | 1183df7b819f1bf73cd33262b5d1f64e |
|
BLAKE2b-256 | e01e4c97d583bba03451d2ff507f9f169482c109eecb4ebcfd1e89699e8bfdd1 |
Hashes for django_leaflet_storage-0.6.12-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 910d5d4819198831772bbb4eb3d908d4b9285b35862d3d9f853967ad4be6215d |
|
MD5 | 6786410bba7f55e18814fa943c0533ab |
|
BLAKE2b-256 | b19a98582897c11ed4f73137f87b1ac21b4c8604374d15964068479828140d5f |