[](https://travis-ci.org/umap-project/django-leaflet-storage)
[](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...).
[](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)
| File | Size | Uploaded | |
|---|---|---|---|
| django-leaflet-storage-0.8.2.tar.gz | 849.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 |