ND changes in the modify feature control. Thanks ahocevar for catching the erroneous comment in handleKeypress. No fonctional change.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@7213 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Éric Lemoine
2008-05-17 20:11:45 +00:00
parent 0978e6cfa7
commit 34ff282397

View File

@@ -251,10 +251,10 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {
/**
* APIMethod: activate
* Activate the control and the feature handler.
* Activate the control.
*
* Returns:
* {Boolean} Successfully activated the control and feature handler.
* {Boolean} Successfully activated the control.
*/
activate: function() {
return (this.selectControl.activate() &&
@@ -264,7 +264,7 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {
/**
* APIMethod: deactivate
* Deactivate the controls.
* Deactivate the control.
*
* Returns:
* {Boolean} Successfully deactivated the control.
@@ -496,9 +496,9 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {
/**
* Method: handleKeypress
* Called by the feature handler on keypress. This is used to delete
* vertices and point features. If the <deleteCode> property is set,
* vertices and points will be deleted when a feature is selected
* for modification and the mouse is over a vertex.
* vertices. If the <deleteCode> property is set, vertices will
* be deleted when a feature is selected for modification and
* the mouse is over a vertex.
*
* Parameters:
* {Integer} Key code corresponding to the keypress event.