Autodesk.Viewing.Extensions
ZoomWindow
Extends the dolly (zoom) button on the toolbar with a tool for end users to specify a rectangular section for the camera to zoom into and adjust accordingly.
The extension id is: Autodesk.Viewing.ZoomWindow
new ZoomWindow()
Examples
viewer.loadExtension('Autodesk.Viewing.ZoomWindow')
Methods
activate(mode)
Activates either ZoomWindow or dolly/zoom tool.
Parameters
mode string | Either ‘zoomwindow’ or ‘dolly’ |
deactivate()
Deactivates the tool and resets the navigation tool.