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