Code

Changes between Initial Version and Version 7 of Ticket #5472


Ignore:
Timestamp:
09/13/09 08:38:30 (5 years ago)
Author:
jbronn
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5472

    • Property Status changed from new to assigned
    • Property Patch needs improvement unset
    • Property Needs tests unset
    • Property Summary changed from Add OpenLayers support to django.contrib.gis to Implement Individual Map Widgets for Geometry Fields
    • Property Owner changed from nobody to p
    • Property Version changed from gis to SVN
    • Property Milestone changed from to 1.2
    • Property Keywords widget forms added
    • Property Needs documentation unset
    • Property Triage Stage changed from Unreviewed to Accepted
  • Ticket #5472 – Description

    initial v7  
    1 Add support for the [http://openlayers.org/ OpenLayers] JavaScript map API. 
     1The 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. 
     2 
     3Because 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. 
     4 
     5Doing this will hopefully make fixing related tickets, like #9806,  easier.