Class DragRotateHandler
Index
Constructors
Methods
Constructors
constructor
- new DragRotateHandler(
options: DragRotateHandlerOptions,
mouseRotate: MouseRotateHandler,
mousePitch: MousePitchHandler,
mouseRoll: MouseRollHandler,
): DragRotateHandlerParameters
- options: DragRotateHandlerOptions
- mouseRotate: MouseRotateHandler
- mousePitch: MousePitchHandler
- mouseRoll: MouseRollHandler
Returns DragRotateHandler
Methods
disable
enable
isActive
Returns a Boolean indicating whether the "drag to rotate" interaction is active, i.e. currently being used.
Returns boolean
trueif the "drag to rotate" interaction is active.
isEnabled
Returns a Boolean indicating whether the "drag to rotate" interaction is enabled.
Returns boolean
trueif the "drag to rotate" interaction is enabled.
Was this helpful?
The
DragRotateHandlerallows the user to rotate the map by clicking and dragging the cursor while holding the right mouse button orctrlkey.