Called when the modifier keys have changed.
Main function, called when an event is raised for this interaction
Sets the interaction active. Use boolean (true|false) to toggle default behavior. Pass it a bitmask of EventType to change the active state. Call without arguments to reset the default active, modification key and pointer Key behavior
Optional
active: number | booleanSets the modification key to listen to or the default modification key if none is provided.
Optional
mod: ModificationKeyTypeSets the pointer key for this interaction or the default pointer if none is provided.
Optional
pointer: PointerKeyTypeSelects the given feature. if passed in a tiled feature store feature, it will be converted. Do not pass in uneditable features (feature which do not belong to the layer for which this interaction was created)
The current active bitmask for EventType
Readonly
featureEvent called when the feature changes. Called with null if the selection is cleared.
A unique identifier for this interaction
The current active ModificationKeyType
The currently active PointerKeyType
Class to select features for editing. Static FeatureStore features will be converted into their dynamic form