InteractionsController
Last updated
Was this helpful?
Last updated
Was this helpful?
The Interactions controller allows you to observe interactions with the map
onPointerClick(
params
: {handler
: (event
: ) =>void
; }):VoidFunction
Allows you to be notified the user clicks on the map.
params
params.handler
VoidFunction
A function to unsubscribe from the listener
Allows you to be notified the user moves the mouse over the map.
params
Params for the listener
params.handler
The handler function
VoidFunction
A function to unsubscribe from the listener
{ handler
: (event
: ) => void
; }
(event
: ) => void
onPointerMove(params
: { handler
: (event
: ) => void
; }): VoidFunction
{ handler
: (event
: ) => void
; }
(event
: ) => void