[OpenLayers-Trac] Re: [OpenLayers] #3016: ModifyFeature - "del" key press outside vertice should delete the feature

OpenLayers trac-20090302 at openlayers.org
Mon Mar 7 14:42:15 EST 2011


#3016: ModifyFeature - "del" key press outside vertice should delete the feature
-----------------------------------+----------------------------------------
 Reporter:  adube                  |       Owner:  tschaub        
     Type:  feature                |      Status:  new            
 Priority:  minor                  |   Milestone:  2.11 Release   
Component:  Control.ModifyFeature  |     Version:  2.10           
 Keywords:  del, delete, key       |       State:  Needs More Work
-----------------------------------+----------------------------------------

Comment(by adube):

 In the Control.DrawFeature, the state of the feature is set to INSERT
 before it's added to the layer, so there isn't a way to trigger the Layer
 'featurestatechanged' event from there.  Should it be called on
 "featureadded" when a feature has a state != null ?

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3016#comment:5>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list