Autodesk.Viewing.Extensions
Version 8 preview
This page documents a preview of the Viewer SDK v8. APIs and content can still change before the final release.
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
Examples
viewer.loadExtension('Autodesk.Viewing.ZoomWindow')
Methods
Activates either ZoomWindow or dolly/zoom tool.
Parameters
| mode string | Either ‘zoomwindow’ or ‘dolly’ |
deactivate()
Deactivates the tool and resets the navigation tool.