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

Uploaded Source

Built Distribution

django_leaflet_storage-0.6.14-py2-none-any.whl (506.6 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for django-leaflet-storage-0.6.14.tar.gz
Algorithm Hash digest
SHA256 b805e9660af55c5f8c6b45eceaa68ac17278c84b41c971cee919a5ffacd51beb
MD5 8545459aa31945028134c3bd6fc53e64
BLAKE2b-256 135c8fc45ab357eaba1633901c5921e37ac0412ea39c97796e1a5afa3e4ff97a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_leaflet_storage-0.6.14-py2-none-any.whl
Algorithm Hash digest
SHA256 8f44cc8709e5d83d110f943a8785aecbeab43fd4ae9b0dca831d7423c753f914
MD5 29f1a8253d8773faf7e5adcfbf1fa1df
BLAKE2b-256 81341584863c45600508b808eb1727d1d6b2d5a3d3105e72377c65f091f54382

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