LocationChangeMessage
Class
The LocationChangeMessage
uses the widget's id widgetId
, the MessageType
LOCATION_CHANGE
message,
the location point
. This message is used when a widget needs to announce its changes on location to other widgets.
For example: Map widget publishes this message when user click on the map.
Note: When user clicks on features, the map widget publishes both LocationChangeMessage and DataRecordsSelectionChangeMessage.
If use does not click on feature, the map widget publishes the LocationChangeMessage only.
Implements
Constructors
constructor
Class Constructornew LocationChangeMessage(widgetId: string, point: IPoint): LocationChangeMessage
Parameters
Parameter | Type |
---|---|
widget | string |
point | IPoint |
Returns
LocationChangeMessage
Properties
Property | Type | Notes |
---|---|---|
The message type. | ||
string | The widget id from which the message is sourced. If a widget id is not provided, the message is provided by the Jimu framework. |
type: MessageType = MessageType.LocationChange
The message type.