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

Uploaded Source

Built Distribution

django_leaflet_storage-0.6.9-py2-none-any.whl (490.5 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for django-leaflet-storage-0.6.9.tar.gz
Algorithm Hash digest
SHA256 94a15a505ba57cc3e55c80aa31103e0f2e69391daa1c169987619a846accb55b
MD5 5ac7098123318a9ec926fd09ae72b3c3
BLAKE2b-256 bbf2c448b5c2f7d99c930611f0086adb1de3ee186aa5fea4715736812faa79d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_leaflet_storage-0.6.9-py2-none-any.whl
Algorithm Hash digest
SHA256 9c9e83b2c2df7b2ae4a0cd328f99e90ce3be3008e6dbae9193387c956fe1bdf9
MD5 0cd4af55788cf3b326a75f60d8587773
BLAKE2b-256 8a0931a95ea519de003121005dab5cc0932027334f5c39fe8cf6f9e88ee3ac36

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