H.map.ChangeEvent
Class Summary
Extends: H.util.ChangeEvent
This event signalizes map-related changes.
[ For full details, see the Class Details ]
Property Summary
Properties |
---|
This modifier indicate a change to the "fov" property. |
This modifier indicates a change to the "pitch" property. |
This modifier indicates a change to the "position" property. |
This modifier indicates a change to the "roll" property. |
This modifier indicates a change to the "roll" property. |
This modifier indicates a change to the "yaw" property. |
This modifier indicates a change to the "zoom" property. |
This property holds the object which triggered the event. |
This property holds an object that receives notification of the event (via an attached listener). |
This property holds the name of the dispatched event. |
This property holds indicates if |
This property identifies the current event phase as the capturing phase. |
This property indicates that the event is being evaluated at the target. |
This property identifies the current event phase as the bubbling phase. |
This property indicates which phase of the event flow is being evaluated. |
Method Summary
Methods |
---|
This method sets a flag that can be used to prevent the default behavior when the even is fired. |
This method stops the propagation of the event. |
Class Description
This event signalizes map-related changes.
Constructor Details
H.map.ChangeEvent(type, newValue, oldValue, modifiers)
- Parameters:
-
type
: -
{string}
- The type of the event
-
newValue
: -
{Object}
- The view values after the change
-
oldValue
: -
{Object}
- The view values before the change
-
modifiers
: -
{H.math.BitMask}
- A bitmask indicating which values were changed. See properties FOV, PITCH, POSITION, ROLL, SIZE, YAW and ZOOM for the meaning of the bits.
Property Details
FOV: {number}
This modifier indicate a change to the "fov" property.
PITCH: {number}
This modifier indicates a change to the "pitch" property.
POSITION: {number}
This modifier indicates a change to the "position" property.
ROLL: {number}
This modifier indicates a change to the "roll" property.
SIZE: {number}
This modifier indicates a change to the "roll" property.
YAW: {number}
This modifier indicates a change to the "yaw" property.
ZOOM: {number}
This modifier indicates a change to the "zoom" property.
target: {*}
This property holds the object which triggered the event.
currentTarget: {*}
This property holds an object that receives notification of the event (via an attached listener).
type: {string}
This property holds the name of the dispatched event.
defaultPrevented: {boolean}
This property holds indicates if preventDefault
was called on the current event.
CAPTURING_PHASE: {number}
This property identifies the current event phase as the capturing phase.
AT_TARGET: {number}
This property indicates that the event is being evaluated at the target.
BUBBLING_PHASE: {number}
This property identifies the current event phase as the bubbling phase.
eventPhase: {number}
This property indicates which phase of the event flow is being evaluated.
Method Details
This method sets a flag that can be used to prevent the default behavior when the even is fired.
This method stops the propagation of the event.