skip to navigation
skip to content

Not Logged In

django-leaflet-storage 0.5.0

Create collaborative maps on top of Geodjango and Leaflet.

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

Note

You will need a geo aware database. See Geodjango doc for backend 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...).

 
File Type Py Version Uploaded on Size
django-leaflet-storage-0.5.0.tar.gz (md5) Source 2014-02-10 2MB
  • Downloads (All Versions):
  • 2 downloads in the last day
  • 44 downloads in the last week
  • 206 downloads in the last month