https://github.com/skyl/django-geoms
GeoDjango: Tag content objects with geometries and use the geometries as their own content objects.
https://github.com/skyl/django-geoms
Last synced: about 1 year ago
JSON representation
GeoDjango: Tag content objects with geometries and use the geometries as their own content objects.
- Host: GitHub
- URL: https://github.com/skyl/django-geoms
- Owner: skyl
- Created: 2009-11-09T22:21:56.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2009-11-29T05:02:15.000Z (over 16 years ago)
- Last Synced: 2025-01-23T13:13:53.602Z (over 1 year ago)
- Language: Python
- Homepage: http://geodjango.org/docs/
- Size: 102 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Requirements
============
* GeoDjango
* olwidget
* pinax 0.7b3 or later
* jQuery and jQuery-UI
Installation
============
settings
--------
* put 'points' into INSTALLED_APPS
* add to context processors::
'points.context_processors.ol_media',
'points.context_processors.GAK',
* Get http://code.google.com/apis/maps/signup.html a GOOGLE_MAPS_API key and add it to settings::
GOOGLE_API_KEY = ...
* syncdb
urls
----
* add to your url patterns::
(r'^points/', include('points.urls')),
QuickStart
==========
* At the top of the template::
{% load point_tags %}
* In head you could put::
{% include 'points/jqueryui_add_form.html' %}
{% show_google_map model_instance "map-id" %}
* In body, where you would like the link to the form widget to go::
{% add_point_link model_instance %}
* Where you would like the map to go you might put::
For more information check docs/api.rst; there are many more options and tags.