Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
EntityNode:
ElementNode
|ElementGroupNode
|LayerNode
|LayerGroupNode
|FeatureNode
A reference to any kind of entity in the map.
EntityNodes are used when you have some collection of entities and you need to
The Selection controller allows you to listen for changes to the selection on the map.
getSelection():
Promise
<[]>
Gets the current selection as a list of entity identifiers.
Returns
Promise
<[]>
Example
onSelectionChange(
params
: {handler
: (change
: {selection
: []; }) =>void
; }):VoidFunction
Adds a listener for when the selection changes.
Parameters
Returns
VoidFunction
A function to unsubscribe from the listener
Example
Parameter | Type |
---|
|
|
|
(change
: {selection
: []; }) => void