ExtentChangeMessage

Class

The ExtentChangeMessage uses the widgetId and the MessageType and the provides the Extent when the MessageType is 'EXTENT_CHANGE'. This message is used when needing to implement a workflow upon a change of extent. Other widgets within an experience may subscribe to this message and implement an update workflow when the message is received.

Implements

Properties

PropertyTypeNotes
Extent

The extent, which is the main content of the extent change message.

boolean

Indication whether the view is animating, being navigated with or resizing. During a movement, the ExtentChangeMessage message will be published multiple times with stationary value false, and when the map is static, the ExtentChangeMessage message will be published with stationary value true.

Viewpoint

Represents the current view as a Viewpoint or point of observation on the view.

extent

Class Property
extent: Extent

The extent, which is the main content of the extent change message.

stationary

Class Property
stationary: boolean

Indication whether the view is animating, being navigated with or resizing. During a movement, the ExtentChangeMessage message will be published multiple times with stationary value false, and when the map is static, the ExtentChangeMessage message will be published with stationary value true.

viewpoint

Class Property
viewpoint: Viewpoint

Represents the current view as a Viewpoint or point of observation on the view.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.