Interface: PointerConfiguration
component.PointerConfiguration
Interface for configuration of mouse component.
interface
example
var viewer = new Viewer({ ... component: { pointer: { dragPan: false, scrollZoom: false, touchZoom: false, }, }, ...});Hierarchy#
ComponentConfiguration↳
PointerConfiguration
Properties#
dragPan#
• Optional dragPan: boolean
Activate or deactivate the DragPanHandler.
default true
Defined in#
component/interfaces/PointerConfiguration.ts:28
earthControl#
• Optional earthControl: boolean
Activate or deactivate the EarthControlHandler.
default true
Defined in#
component/interfaces/PointerConfiguration.ts:35
scrollZoom#
• Optional scrollZoom: boolean
Activate or deactivate the ScrollZoomHandler.
default true
Defined in#
component/interfaces/PointerConfiguration.ts:42
touchZoom#
• Optional touchZoom: boolean
Activate or deactivate the TouchZoomHandler.
default true