The DragPanHandler allows the user to pan the viewer image by clicking and dragging the cursor.
example
var mouseComponent = viewer.getComponent("mouse");
mouseComponent.dragPan.disable();
mouseComponent.dragPan.enable();
var isEnabled = mouseComponent.dragPan.isEnabled;
The
DragPanHandler
allows the user to pan the viewer image by clicking and dragging the cursor.var mouseComponent = viewer.getComponent("mouse"); mouseComponent.dragPan.disable(); mouseComponent.dragPan.enable(); var isEnabled = mouseComponent.dragPan.isEnabled;