Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/umap-project/django-leaflet-storage
ARCHIVED! Now merged into umap itself. Create collaborative maps on top of Geodjango and Leaflet
https://github.com/umap-project/django-leaflet-storage
Last synced: about 1 month ago
JSON representation
ARCHIVED! Now merged into umap itself. Create collaborative maps on top of Geodjango and Leaflet
- Host: GitHub
- URL: https://github.com/umap-project/django-leaflet-storage
- Owner: umap-project
- License: wtfpl
- Archived: true
- Created: 2012-07-26T20:57:49.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-05-17T20:52:12.000Z (over 6 years ago)
- Last Synced: 2024-05-23T01:21:57.797Z (6 months ago)
- Language: Python
- Homepage: https://github.com/umap-project/umap
- Size: 979 KB
- Stars: 109
- Watchers: 19
- Forks: 38
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-starred - umap-project/django-leaflet-storage - ARCHIVED! Now merged into umap itself. Create collaborative maps on top of Geodjango and Leaflet (others)
README
[![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 instanceThen, go to the map creation page (something like http://localhost:8017/map/new), and you will be able to add features (Marker, Polygon...).