A copy of all the EventHandler interactions
An event called, when the modifier changes. Order of precedence, if more then one key is pressed: SHIFT, ALT, CTRL
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)
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)
Handles an event triggered by
if an exclusive Interaction is set, this will return the id of the exclusive Interaction This can be used to add another Interaction to the same Id