Consistent list style for vector event types.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9157 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -33,62 +33,62 @@ OpenLayers.Layer.Vector = OpenLayers.Class(OpenLayers.Layer, {
|
|||||||
* properties of this event depends on exactly what happened.
|
* properties of this event depends on exactly what happened.
|
||||||
*
|
*
|
||||||
* All event objects have at least the following properties:
|
* All event objects have at least the following properties:
|
||||||
* - *object* {Object} A reference to layer.events.object.
|
* object - {Object} A reference to layer.events.object.
|
||||||
* - *element* {DOMElement} A reference to layer.events.element.
|
* element - {DOMElement} A reference to layer.events.element.
|
||||||
*
|
*
|
||||||
* Supported map event types (in addition to those from <OpenLayers.Layer>):
|
* Supported map event types (in addition to those from <OpenLayers.Layer>):
|
||||||
* - *beforefeatureadded* Triggered before a feature is added. Listeners
|
* beforefeatureadded - Triggered before a feature is added. Listeners
|
||||||
* will receive an object with a *feature* property referencing the
|
* will receive an object with a *feature* property referencing the
|
||||||
* feature to be added. To stop the feature from being added, a
|
* feature to be added. To stop the feature from being added, a
|
||||||
* listener should return false.
|
* listener should return false.
|
||||||
* - *beforefeaturesadded* Triggered before an array of features is added.
|
* beforefeaturesadded - Triggered before an array of features is added.
|
||||||
* Listeners will receive an object with a *features* property
|
* Listeners will receive an object with a *features* property
|
||||||
* referencing the feature to be added. To stop the features from
|
* referencing the feature to be added. To stop the features from
|
||||||
* being added, a listener should return false.
|
* being added, a listener should return false.
|
||||||
* - *featureadded* Triggered after a feature is added. The event
|
* featureadded - Triggered after a feature is added. The event
|
||||||
* object passed to listeners will have a *feature* property with a
|
* object passed to listeners will have a *feature* property with a
|
||||||
* reference to the added feature.
|
* reference to the added feature.
|
||||||
* - *featuresadded* Triggered after features are added. The event
|
* featuresadded - Triggered after features are added. The event
|
||||||
* object passed to listeners will have a *features* property with a
|
* object passed to listeners will have a *features* property with a
|
||||||
* reference to an array of added features.
|
* reference to an array of added features.
|
||||||
* - *beforefeatureremoved* Triggered before a feature is removed. Listeners
|
* beforefeatureremoved - Triggered before a feature is removed. Listeners
|
||||||
* will receive an object with a *feature* property referencing the
|
* will receive an object with a *feature* property referencing the
|
||||||
* feature to be removed.
|
* feature to be removed.
|
||||||
* - *featureremoved* Triggerd after a feature is removed. The event
|
* featureremoved - Triggerd after a feature is removed. The event
|
||||||
* object passed to listeners will have a *feature* property with a
|
* object passed to listeners will have a *feature* property with a
|
||||||
* reference to the removed feature.
|
* reference to the removed feature.
|
||||||
* - *featuresremoved* Triggered after features are removed. The event
|
* featuresremoved - Triggered after features are removed. The event
|
||||||
* object passed to listeners will have a *features* property with a
|
* object passed to listeners will have a *features* property with a
|
||||||
* reference to an array of removed features.
|
* reference to an array of removed features.
|
||||||
* - *featureselected* Triggered after a feature is selected. Listeners
|
* featureselected - Triggered after a feature is selected. Listeners
|
||||||
* will receive an object with a *feature* property referencing the
|
* will receive an object with a *feature* property referencing the
|
||||||
* selected feature.
|
* selected feature.
|
||||||
* - *featureunselected* Triggered after a feature is unselected.
|
* featureunselected - Triggered after a feature is unselected.
|
||||||
* Listeners will receive an object with a *feature* property
|
* Listeners will receive an object with a *feature* property
|
||||||
* referencing the unselected feature.
|
* referencing the unselected feature.
|
||||||
* - *beforefeaturemodified* Triggered when a feature is selected to
|
* beforefeaturemodified - Triggered when a feature is selected to
|
||||||
* be modified. Listeners will receive an object with a *feature*
|
* be modified. Listeners will receive an object with a *feature*
|
||||||
* property referencing the selected feature.
|
* property referencing the selected feature.
|
||||||
* - *featuremodified* Triggered when a feature has been modified.
|
* featuremodified - Triggered when a feature has been modified.
|
||||||
* Listeners will receive an object with a *feature* property referencing
|
* Listeners will receive an object with a *feature* property referencing
|
||||||
* the modified feature.
|
* the modified feature.
|
||||||
* - *afterfeaturemodified* Triggered when a feature is finished being modified.
|
* afterfeaturemodified - Triggered when a feature is finished being modified.
|
||||||
* Listeners will receive an object with a *feature* property referencing
|
* Listeners will receive an object with a *feature* property referencing
|
||||||
* the modified feature.
|
* the modified feature.
|
||||||
* - *vertexmodified* Triggered when a vertex within any feature geometry
|
* vertexmodified - Triggered when a vertex within any feature geometry
|
||||||
* has been modified. Listeners will receive an object with a
|
* has been modified. Listeners will receive an object with a
|
||||||
* *feature* property referencing the modified feature, a *vertex*
|
* *feature* property referencing the modified feature, a *vertex*
|
||||||
* property referencing the vertex modified (always a point geometry),
|
* property referencing the vertex modified (always a point geometry),
|
||||||
* and a *pixel* property referencing the pixel location of the
|
* and a *pixel* property referencing the pixel location of the
|
||||||
* modification.
|
* modification.
|
||||||
* - *sketchmodified* Triggered when a feature sketch bound for this layer
|
* sketchmodified - Triggered when a feature sketch bound for this layer
|
||||||
* is modified. Listeners will receive an object with a *vertex*
|
* is modified. Listeners will receive an object with a *vertex*
|
||||||
* property referencing the modified vertex.
|
* property referencing the modified vertex.
|
||||||
* - *sketchcomplete* Triggered when a feature sketch bound for this layer
|
* sketchcomplete - Triggered when a feature sketch bound for this layer
|
||||||
* is complete. Listeners will receive an object with a *feature*
|
* is complete. Listeners will receive an object with a *feature*
|
||||||
* property referencing the sketch feature. By returning false, a
|
* property referencing the sketch feature. By returning false, a
|
||||||
* listener can stop the sketch feature from being added to the layer.
|
* listener can stop the sketch feature from being added to the layer.
|
||||||
* - *refresh* Triggered when something wants a strategy to ask the protocol
|
* refresh - Triggered when something wants a strategy to ask the protocol
|
||||||
* for a new set of features.
|
* for a new set of features.
|
||||||
*/
|
*/
|
||||||
EVENT_TYPES: ["beforefeatureadded", "beforefeaturesadded",
|
EVENT_TYPES: ["beforefeatureadded", "beforefeaturesadded",
|
||||||
|
|||||||
Reference in New Issue
Block a user