give Layer.Vector a vertexremoved event, to be fired e.g. by the ModifyFeature control. r=bartvde (closes #3017)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11043 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -90,6 +90,12 @@ OpenLayers.Layer.Vector = OpenLayers.Class(OpenLayers.Layer, {
|
||||
* property referencing the vertex modified (always a point geometry),
|
||||
* and a *pixel* property referencing the pixel location of the
|
||||
* modification.
|
||||
* vertexremoved - Triggered when a vertex within any feature geometry
|
||||
* has been deleted. Listeners will receive an object with a
|
||||
* *feature* property referencing the modified feature, a *vertex*
|
||||
* property referencing the vertex modified (always a point geometry),
|
||||
* and a *pixel* property referencing the pixel location of the
|
||||
* removal.
|
||||
* sketchstarted - Triggered when a feature sketch bound for this layer
|
||||
* is started. Listeners will receive an object with a *feature*
|
||||
* property referencing the new sketch feature and a *vertex* property
|
||||
@@ -110,8 +116,8 @@ OpenLayers.Layer.Vector = OpenLayers.Class(OpenLayers.Layer, {
|
||||
"beforefeaturesremoved", "featureremoved", "featuresremoved",
|
||||
"beforefeatureselected", "featureselected", "featureunselected",
|
||||
"beforefeaturemodified", "featuremodified", "afterfeaturemodified",
|
||||
"vertexmodified", "sketchstarted", "sketchmodified",
|
||||
"sketchcomplete", "refresh"],
|
||||
"vertexmodified", "vertexremoved", "sketchstarted",
|
||||
"sketchmodified", "sketchcomplete", "refresh"],
|
||||
|
||||
/**
|
||||
* APIProperty: isBaseLayer
|
||||
|
||||
Reference in New Issue
Block a user