Skip to main content

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

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…).

Project details


Release history Release notifications

History Node

0.8.2

History Node

0.8.0

History Node

0.8.0rc13

History Node

0.8.0rc12

History Node

0.8.0rc11

History Node

0.8.0rc10

History Node

0.8.0rc9

History Node

0.8.0rc8

History Node

0.8.0rc7

History Node

0.8.0rc6

History Node

0.8.0rc5

History Node

0.8.0rc4

History Node

0.8.0rc3

History Node

0.8.0rc2

History Node

0.8.0rc1

History Node

0.8.0b0

History Node

0.7.6

History Node

0.7.5

History Node

0.7.4

History Node

0.7.3

History Node

0.7.2

History Node

0.7.1

History Node

0.7.0

History Node

0.6.15

History Node

0.6.14

History Node

0.6.13

This version
History Node

0.6.12

History Node

0.6.11

History Node

0.6.10

History Node

0.6.9

History Node

0.6.8

History Node

0.6.7

History Node

0.6.6

History Node

0.6.5

History Node

0.6.4

History Node

0.6.3

History Node

0.5.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django_leaflet_storage-0.6.12-py2-none-any.whl (495.5 kB) Copy SHA256 hash SHA256 Wheel py2 Jul 20, 2014
django-leaflet-storage-0.6.12.tar.gz (378.7 kB) Copy SHA256 hash SHA256 Source None Jul 20, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page