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
Built Distribution
Close
Hashes for django-leaflet-storage-0.8.0rc12.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 123308358a56dba27b941e3be2171a2fd1cc3a89434b0863883e0228d952498a |
|
MD5 | d098fb18ba23afdccbbddd0d50c556ac |
|
BLAKE2b-256 | fed67492636ceec56016bba2fb2b2a27b7ca838f5510d98d035594376b3e629e |
Close
Hashes for django_leaflet_storage-0.8.0rc12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b45bf0eb05405543baf13b1090dfce608f48f0e41bf5bfdd8e413b354b4b8c8f |
|
MD5 | 4cae42cacf02d9e709545fb24dc6d32a |
|
BLAKE2b-256 | 2597cb5e17d78361466f52a66950f32d08cf09b0b654edfd1af9829a4119f42a |