Skip to main content
[![Build Status](https://travis-ci.org/umap-project/django-leaflet-storage.svg)](https://travis-ci.org/umap-project/django-leaflet-storage)
[![Requirements Status](https://requires.io/github/umap-project/django-leaflet-storage/requirements.svg?branch=master)](https://requires.io/github/umap-project/django-leaflet-storage/requirements/?branch=master)

# Django-Leaflet-Storage

Provide collaborative maps for your Django project.

Django-Leaflet-Storage is a backend for [Leaflet.Storage](https://github.com/yohanboniface/Leaflet.Storage), built on top of [Geodjango](http://geodjango.org/) and [Leaflet](http://leafletjs.com).

Check the demo [here](http://umap.fluv.io)


## Installation

You will need a geo aware database. See [Geodjango doc](https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/) for backend 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:

python manage.py 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...).

Release files for django-leaflet-storage 0.8.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-leaflet-storage 0.8.2
File Size Uploaded
django-leaflet-storage-0.8.2.tar.gz 849.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-leaflet-storage 0.8.2
File Interpreter ABI Platform
django_leaflet_storage-0.8.2-py3-none-any.whl Python 3 none any Details

Total release size: 1.9 MB

Release files / django-leaflet-storage-0.8.2.tar.gz

Download URL django-leaflet-storage-0.8.2.tar.gz
Size 849.3 kB
Tags Source
SHA-256 checksum
How to use checksums
dd5cfd7bb6667fc65f278cdde7a4a1907308f1f3ebb190658a44ef864af12e26
BLAKE2b-256 checksum
How to use checksums
52cea87ce5a8b0c96c28a8d123f5084d4592aa29f07c86e2317d967d3ca9eeea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_leaflet_storage-0.8.2-py3-none-any.whl

Download URL django_leaflet_storage-0.8.2-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4e178ee2570fb6bdc1a560c0b4a9ce967eb81738721b6037638e529034cc77a4
BLAKE2b-256 checksum
How to use checksums
24665a5467f8ffb68fc99d38ea9895962f3eeecba776ba8570a9545f4ce9f371
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.8.2 This release

2 release files

0.8.0

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.3

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.15

2 release files

0.6.14

2 release files

0.6.13

2 release files

0.6.12

2 release files

0.6.11

2 release files

0.6.10

2 release files

0.6.9

2 release files

0.6.8

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.5.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page