DragRotateHandler
Defined in: ui/handler/shim/drag_rotate.ts:25
The DragRotateHandler allows the user to rotate the map by clicking and
dragging the cursor while holding the right mouse button or ctrl key.
Methods
disable()
disable():
void
Defined in: ui/handler/shim/drag_rotate.ts:68
Disables the "drag to rotate" interaction.
Returns
void
Example
enable()
enable():
void
Defined in: ui/handler/shim/drag_rotate.ts:54
Enables the "drag to rotate" interaction.
Returns
void
Example
isActive()
isActive():
boolean
Defined in: ui/handler/shim/drag_rotate.ts:92
Returns a Boolean indicating whether the "drag to rotate" interaction is active, i.e. currently being used.
Returns
boolean
true if the "drag to rotate" interaction is active.
isEnabled()
isEnabled():
boolean
Defined in: ui/handler/shim/drag_rotate.ts:79
Returns a Boolean indicating whether the "drag to rotate" interaction is enabled.
Returns
boolean
true if the "drag to rotate" interaction is enabled.