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

Uploaded Source

Built Distribution

django_leaflet_storage-0.6.15-py2-none-any.whl (509.7 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for django-leaflet-storage-0.6.15.tar.gz
Algorithm Hash digest
SHA256 2e7bdd2bf563591cce07da0dee990509925fc62031361c5788ea790641cfa764
MD5 1c8cae785cceee869c7b21a6fa9d3004
BLAKE2b-256 31d53354d5c3d962ff4b5b4a4c82a7f53422efd34f050a66bf480cddc041b368

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django_leaflet_storage-0.6.15-py2-none-any.whl
Algorithm Hash digest
SHA256 459711bb144e9b2c25020a2190f59e1b43c4c50991ceaf01a9d1e2bce92f0cab
MD5 d356d094aacd6e5f55d52f271fe15775
BLAKE2b-256 65aa0ab3c7ab0e00a4b07b2b7c4df3b7008fde1a40c8968226617fd00aa33f97

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