#5472: Implement Individual Map Widgets for Geometry Fields
-------------------------------+--------------------------------------------
Reporter: p | Owner: p
Status: assigned | Milestone: 1.2
Component: GIS | Version: SVN
Resolution: | Keywords: openlayers javascript map maps
mapping widget forms
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------+--------------------------------------------
Changes (by jbronn):
* summary: Add OpenLayers support to django.contrib.gis => Implement
Individual Map Widgets for Geometry Fields
* version: gis => SVN
* milestone: => 1.2
* keywords: sprintsept14 openlayers javascript map maps mapping =>
openlayers javascript map maps mapping widget
forms
* stage: Design decision needed => Accepted
Old description:
> Add support for the [http://openlayers.org/ OpenLayers] JavaScript map
> API.
New description:
The form provided by !GeoDjango for geometry fields
(`django.contrib.gis.forms.fields.GeometryField`) is just a simple text
box that accepts textual representations of geometries. The way admin
currently generates its map forms is functional, but not really suited for
general-purpose use. In particular, the map widget is generated
dynamically by `GeoModelAdmin.get_map_widget()`. For better API
consistency with the rest of Django, there should be reusable map editing
widgets.
Because the geographic admin already uses [http://openlayers.org/
OpenLayers], the default widgets should be written using it. It should be
general enough to make supporting alternative geometry frameworks
possible, however, !OpenLayers support is the priority.
Doing this will hopefully make fixing related tickets, like #9806,
easier.
--
Ticket URL: <http://code.djangoproject.com/ticket/5472#comment:7>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---