Geo

Swingers geometry toolset.

Geometry widgets

class swingers.geo.GoldenEyeWidget

A Textarea that adds a GEO-selector to choose or create geometry within the form. To add this to a form:

from swingers.geo.widgets import GoldenEyeWidget
from django import forms

class GeoForm(forms.Form):
    name = forms.CharField()
    the_geom = forms.CharField(widget=GoldenEyeWidget)
class swingers.geo.GoldenEyeViewer

A class that displays geographical data. Similar to GoldenEyeWidget, except that it can be used outside of a form.

Django-swingers is a library of common utilities, templates and other django customizations used throughout Department of Parks and Wildlife.

Table Of Contents

Related Topics