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:
@@ -145,14 +145,14 @@ OpenLayers.Control = OpenLayers.Class({
|
||||
* properties of this event depends on exactly what happened.
|
||||
*
|
||||
* 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).
|
||||
* - *element* {DOMElement} A reference to control.events.element (which
|
||||
* element - {DOMElement} A reference to control.events.element (which
|
||||
* will be null unless documented otherwise).
|
||||
*
|
||||
* Supported map event types:
|
||||
* - *activate* Triggered when activated.
|
||||
* - *deactivate* Triggered when deactivated.
|
||||
* activate - Triggered when activated.
|
||||
* deactivate - Triggered when deactivated.
|
||||
*/
|
||||
EVENT_TYPES: ["activate", "deactivate"],
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ OpenLayers.Control.DrawFeature = OpenLayers.Class(OpenLayers.Control, {
|
||||
* Constant: EVENT_TYPES
|
||||
*
|
||||
* Supported event types:
|
||||
* - *featureadded* Triggered when a feature is added
|
||||
* featureadded - Triggered when a feature is added
|
||||
*/
|
||||
EVENT_TYPES: ["featureadded"],
|
||||
|
||||
|
||||
@@ -28,10 +28,10 @@ OpenLayers.Control.Measure = OpenLayers.Class(OpenLayers.Control, {
|
||||
* properties of this event depends on exactly what happened.
|
||||
*
|
||||
* 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
|
||||
* 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,
|
||||
* units, order, and geometry.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user