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.4.tar.gz (360.8 kB view details)

Uploaded Source

Built Distribution

django_leaflet_storage-0.6.4-py2-none-any.whl (466.6 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for django-leaflet-storage-0.6.4.tar.gz
Algorithm Hash digest
SHA256 5cc198c260d1b7968903bbdf7b0ae984991086f3fdc3288d995a1cbb612ff315
MD5 205d1745703ba068b6a02e37b604f887
BLAKE2b-256 50584c89ff7bb73baf97f941ec3c8dc08b1a76832ef959c53bb4ca5ee81c60ea

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for django_leaflet_storage-0.6.4-py2-none-any.whl
Algorithm Hash digest
SHA256 231e9c6c4163bc088066bdf0cdb7ed858fdad72538feea1d06326812317fb32a
MD5 ac028aabbb10e8e691b565dfd3e9f5b4
BLAKE2b-256 5d8918b4aa10bd64dcdd1e5e398b6abefe86d438b6925e540d0ea5f3d9cc0185

See more details on using hashes here.

Provenance

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