#8972: Add ability to delete selected vector features within the
Geodjango/OpenLayers Admin map interface
-----------------------------------------------+----------------------------
 Reporter:  springmeyer                        |       Owner:  springmeyer
   Status:  new                                |   Milestone:  post-1.0   
Component:  GIS                                |     Version:  1.0        
 Keywords:  OpenLayers, admin, vector editing  |       Stage:  Unreviewed 
Has_patch:  1                                  |  
-----------------------------------------------+----------------------------
 This feature has been needed for some time, and was recently requested.
 See: http://groups.google.com/group/django-
 users/browse_thread/thread/36242edfd0d0281c?hl=en

 I've started a basic patch that adds a javascript function to allow
 multiple features to be selected in the map interface, deleted from view,
 and removed from the save method.

 I've tested this so far when editing multipolygon data in the admin.

 A known issue I'm hoping others may have a solution to:

 Currently, an OL javascript error occurs on line 948 of OpenLayer.js after
 successfully deleting a feature. This do not seem to cause any problems in
 saving the correct geometry or in continuing to use the select control.
 This is the firebug output:
 {{{
 object is undefined
 selectFeature()(undefined)OpenLayers.js (line 948)
 clearSelectedFeatures()()277 (line 327)
 javascript:geodjango_geometry.clearSelectedFeatures()()()javascri...eatures()
 (line 1)
 [Break on this error]
 
this.feature=null;this.dragControl.deact...ply(this.selectControl,[this.feature]);}
 }}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8972>
Django Code <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
-~----------~----~----~----~------~----~------~--~---

Reply via email to