Create collaborative maps on top of Geodjango and Leaflet.
Project description
[![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...).
[![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...).
Project details
Release history Release notifications | RSS feed
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.8.0.tar.gz
(849.3 kB
view details)
Built Distribution
File details
Details for the file django-leaflet-storage-0.8.0.tar.gz
.
File metadata
- Download URL: django-leaflet-storage-0.8.0.tar.gz
- Upload date:
- Size: 849.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a565a1176f133fdceceefc22333edcc41db4e992f41b1e7867efaf6adc92d65 |
|
MD5 | 6820d1765e02db9f9c7408b2a963d6c5 |
|
BLAKE2b-256 | 26d04148c11a1c3fce3406be8397f3db10eb7a49a78cac4750f1183bf8338de4 |
File details
Details for the file django_leaflet_storage-0.8.0-py3-none-any.whl
.
File metadata
- Download URL: django_leaflet_storage-0.8.0-py3-none-any.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62a2a150c28d963c4c21bf96088ce9ca0b596ee7fd01817044e3c9a9aa64f167 |
|
MD5 | 0f91cb1a58bd8ea64dd3d50ccedf7ea4 |
|
BLAKE2b-256 | b7b6d0e3c43767785486e86f906700b03db38adfd03bba5160529d985b7bb6d0 |