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

Uploaded Source

Built Distribution

django_leaflet_storage-0.6.10-py2-none-any.whl (498.5 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for django-leaflet-storage-0.6.10.tar.gz
Algorithm Hash digest
SHA256 38453e44500ebd27ddfb4d8c41dc367529938b69b16127dc74f9b341c3a824c4
MD5 52b76ff4867984c99e8ffcb6fc8ac706
BLAKE2b-256 56e82873b99bb41897e8f20fe9d58c874279560cb720a3321f4251c45e343fe7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_leaflet_storage-0.6.10-py2-none-any.whl
Algorithm Hash digest
SHA256 40ec1495fece6ce0f5a3e707e32c965b80efda5af237718f8fdbae3003cf6573
MD5 39be4255d99b49e09bf8744e102d7d5a
BLAKE2b-256 1da950465e5ffd68997df3f489abb263262fbb3aa4e3bea12a38cf8637c3dff1

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