umap-project / django-leaflet-storage

ARCHIVED! Now merged into umap itself. Create collaborative maps on top of Geodjango and Leaflet

Home Page:https://github.com/umap-project/umap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Requirements Status

Django-Leaflet-Storage

Provide collaborative maps for your Django project.

Django-Leaflet-Storage is a backend for Leaflet.Storage, built on top of Geodjango and Leaflet.

Check the demo here

Installation

You will need a geo aware database. See Geodjango doc 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...).

About

ARCHIVED! Now merged into umap itself. Create collaborative maps on top of Geodjango and Leaflet

https://github.com/umap-project/umap

License:Do What The F*ck You Want To Public License


Languages

Language:Python 92.3%Language:HTML 7.0%Language:Makefile 0.6%Language:JavaScript 0.1%