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
File details
Details for the file django-leaflet-storage-0.8.0rc10.tar.gz
.
File metadata
- Download URL: django-leaflet-storage-0.8.0rc10.tar.gz
- Upload date:
- Size: 630.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d0845af993ae14f903c91b79546df9276d3b1f21f716b24f351c28317316a8a |
|
MD5 | 9547077563e414df483da1eb70c70c4a |
|
BLAKE2b-256 | f65f4f0f35a7efbe1bc6d95f05f338e9d03ed3ebde36d72e6ecdf194b6995c31 |
File details
Details for the file django_leaflet_storage-0.8.0rc10-py3-none-any.whl
.
File metadata
- Download URL: django_leaflet_storage-0.8.0rc10-py3-none-any.whl
- Upload date:
- Size: 792.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43e48a057a61a7bbb719a13d8230f1531330fba1e8c03f791abb077065df47ad |
|
MD5 | b2f91ad2c557ffa5b3ab569718e5c592 |
|
BLAKE2b-256 | 60e11276c4636ae018eced006793ad4fb70a50a346b38ce2e00322ca1a598076 |