vtpp2014 / django-map-widgets

Pluggable map widget for Django Postgis point fields

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django Map Widgets

Configurable, pluggable and more user friendly map widgets for Django PostGIS fields.

Achievements

The aim of the Django map widgets is to make all Geo Django widgets more user friendly and configurable. Map widgets support major map services (GoogleMaps, OpenStreetMap) for your geoDjango fields.

Installation

pip install django-map-widgets

Add ‘map_widgets’ to your INSTALLED_APPS in settings.py

INSTALLED_APPS = [
     ...
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    
    'mapwidgets',
]

Requirements

Django Map Widgets needs Jquery dependency to work in your regular views. In Django Admin case, you don't need to provide the jQuery just because it's already available on django.jQuery namespace.

Screenshots

Google Map Point Field Widget

Google Map Point Field Widget for Django Admin Inlines

Google Map Static Overlay Widget

This widget is working with Magnific Popup jQuery plugin.

About

Pluggable map widget for Django Postgis point fields

License:MIT License


Languages

Language:JavaScript 51.5%Language:Python 26.2%Language:CSS 15.3%Language:HTML 7.1%