PanoControlOptions
Options for PanoControl
interface PanoControlOptions
Properties
Disable context menu which pops up on mouse right click.
Options for GyroControl.
false
to disable gyroscope control.
Options for RotateControl.
false
to disable rotation.
If true
, enables scroll on mobile(touch) devices on canvas.
When this option is enabled, users must swipe horizontally first then vertically to change view up or down.
Apply CSS cursor by current state of input when using mouse.
If true
, this will add CSS style to canvas element. It'll apply cursor: "grab"
by default and cursor: "grabbing"
when holding the mouse button.
If true
, enables scroll by mouse wheel on canvas.
When this option is enabled, zoom by mouse wheel will be disabled.
Options for ZoomControl.
false
to disable zoom.
Properties
disableContextMenu
disableContextMenuboolean
false
Disable context menu which pops up on mouse right click.
gyro
gyroboolean | Partial<GyroControlOptions>
Options for GyroControl.
false
to disable gyroscope control.
rotate
rotateboolean | Partial<RotateControlOptions>
Options for RotateControl.
false
to disable rotation.
scrollable
scrollableboolean
true
If true
, enables scroll on mobile(touch) devices on canvas.
When this option is enabled, users must swipe horizontally first then vertically to change view up or down.
useGrabCursor
useGrabCursorboolean
true
Apply CSS cursor by current state of input when using mouse.
If true
, this will add CSS style to canvas element. It'll apply cursor: "grab"
by default and cursor: "grabbing"
when holding the mouse button.
wheelScrollable
wheelScrollableboolean
false
If true
, enables scroll by mouse wheel on canvas.
When this option is enabled, zoom by mouse wheel will be disabled.
zoom
zoomboolean | Partial<ZoomControlOptions>
Options for ZoomControl.
false
to disable zoom.