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

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


Download files

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

Source Distribution

django-leaflet-storage-0.6.6.tar.gz (361.6 kB view details)

Uploaded Source

Built Distribution

django_leaflet_storage-0.6.6-py2-none-any.whl (469.2 kB view details)

Uploaded Python 2

File details

Details for the file django-leaflet-storage-0.6.6.tar.gz.

File metadata

File hashes

Hashes for django-leaflet-storage-0.6.6.tar.gz
Algorithm Hash digest
SHA256 b09225e09bd49d2e2e9db7e8b950a5f91c0b1abd8f1305427ac2dcb6489d6be8
MD5 43174b5d958171db9a86119bba386070
BLAKE2b-256 66b0752424a78028c44e22bf5c1dff1acfdb7429c0a5e9d5c5477b4d2e04a4df

See more details on using hashes here.

File details

Details for the file django_leaflet_storage-0.6.6-py2-none-any.whl.

File metadata

File hashes

Hashes for django_leaflet_storage-0.6.6-py2-none-any.whl
Algorithm Hash digest
SHA256 7cf34e1e436b84630866fc17ac9876e9515866e061b1be134e7f3cbae2d27ca4
MD5 a5d2c35ec85bc21af3c6c8485ecbba24
BLAKE2b-256 21e25b29b6ef26cde39853b71b69cc5193b60542143e68fdb3cf7cb3e9ac52e3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page