Consistent event type listing for controls.

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9154 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2009-03-31 21:57:08 +00:00
parent ffe3f90ffb
commit 8ba31e4a91
3 changed files with 7 additions and 7 deletions

View File

@@ -145,14 +145,14 @@ OpenLayers.Control = OpenLayers.Class({
* 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 control.events.object (a reference * object - {Object} A reference to control.events.object (a reference
* to the control). * to the control).
* - *element* {DOMElement} A reference to control.events.element (which * element - {DOMElement} A reference to control.events.element (which
* will be null unless documented otherwise). * will be null unless documented otherwise).
* *
* Supported map event types: * Supported map event types:
* - *activate* Triggered when activated. * activate - Triggered when activated.
* - *deactivate* Triggered when deactivated. * deactivate - Triggered when deactivated.
*/ */
EVENT_TYPES: ["activate", "deactivate"], EVENT_TYPES: ["activate", "deactivate"],

View File

@@ -34,7 +34,7 @@ OpenLayers.Control.DrawFeature = OpenLayers.Class(OpenLayers.Control, {
* Constant: EVENT_TYPES * Constant: EVENT_TYPES
* *
* Supported event types: * Supported event types:
* - *featureadded* Triggered when a feature is added * featureadded - Triggered when a feature is added
*/ */
EVENT_TYPES: ["featureadded"], EVENT_TYPES: ["featureadded"],

View File

@@ -28,10 +28,10 @@ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, {
* properties of this event depends on exactly what happened. * properties of this event depends on exactly what happened.
* *
* Supported control event types (in addition to those from <OpenLayers.Control>): * Supported control event types (in addition to those from <OpenLayers.Control>):
* - *measure* Triggered when a measurement sketch is complete. Listeners * measure - Triggered when a measurement sketch is complete. Listeners
* will receive an event with measure, units, order, and geometry * will receive an event with measure, units, order, and geometry
* properties. * properties.
* - *measurepartial* Triggered when a new point is added to the * measurepartial - Triggered when a new point is added to the
* measurement sketch. Listeners receive an event with measure, * measurement sketch. Listeners receive an event with measure,
* units, order, and geometry. * units, order, and geometry.
*/ */