An event called, when the modifier changes. Order of precedence, if more then one key is pressed: SHIFT, ALT, CTRL
Private
_endPrivate
_exclusiveRemoves an exclusive interaction by its id
Private
_keyPrivate
_mousePrivate
_mousePrivate
_mousePrivate
_startOptional
discardOnRunning: booleanif true the event will discarded if an eventHandler is already Running
Add a dynamic interaction to the interaction chain. This is the default methodology for user map interactions, such as drawing or measuring. If another exclusive interaction is added, this interaction is removed and a provided callback is called. Use the id parameter to add multiple interactions from the same source (if you don't wish to provide an InteractionChain)
the callback for when the interaction is forcefully removed.
Optional
index: numberthe position at which to push the interaction. If no index is provided, the interaction is pushed at the end and therefore is executed last.
Optional
id: stringan id to allow for multiple interactions to belong to the same exclusive registerer
function to remove the interaction with. returns number of removed interactions (0|1)
Add a dynamic interaction to the interaction chain. This is the default methodology for user map interactions, such as drawing or measuring. If another exclusive interaction is added, this interaction is removed and a provided callback is called. Use the id parameter to add multiple interactions from the same source (if you don't wish to provide an InteractionChain)
function to remove the interaction with. returns number of removed interactions (0|1)
Adds an interaction permanently to the interaction chain. Only add non-interferring interactions in such a fashion (for instance for displaying the cursor position)
Optional
index: number = 3at what position this interaction should be added. By default, it is added after the featureProviderInteraction
function to remove the interaction with. returns number of removed interactions (0|1)
Adds an interaction permanently to the interaction chain. Only add non-interferring interactions in such a fashion (for instance for displaying the cursor position)
function to remove the interaction with. returns number of removed interactions (0|1)
Handles an event triggered by
Private
_boundPrivate
_draggingPrivate
_eventPrivate
_exclusivePrivate
_featurePrivate
_featurePrivate
_interactionPrivate
_lastPrivate
_lastPrivate
_lastPrivate
_lastPrivate
_modifierPrivate
_multiplesPrivate
_positionPrivate
_runningGenerated using TypeDoc
A copy of all the EventHandler interactions