[OpenLayers-Trac] Re: [OpenLayers] #3016: ModifyFeature - "del" key
press outside vertice should delete the feature
OpenLayers
trac-20090302 at openlayers.org
Fri Apr 22 12:39:01 EDT 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: Review
-----------------------------------+----------------------------------------
Changes (by adube):
* state: Needs More Work => Review
Comment:
I modified and added the required tests and added some new features :
* setState method in OpenLayers.Feature.Vector to actually set the state
without validating anything and trigger the OpenLayers.Layer.Vector
"featurestatechanged" event.
* toState method modified to do the validation and call setState
I checked the Layer/Vector.js, Feature/Vector.js and
Control/ModifyFeature.js tests in FF 3.6, 4 and IE8 and everything seemed
fine. I got an error in FF 4 but it was not related to the modifications.
--
Ticket URL: <http://trac.openlayers.org/ticket/3016#comment:10>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list