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.
MinimapExtension
Provides a 2d Minimap to show the view of the current document.
The extension id is: Autodesk.BIM360.Minimap
Examples
viewer.loadExtension('Autodesk.BIM360.Minimap')
Methods
Load the minimap extension.
Returns
| type | description |
|---|---|
| boolean | True if minimap extension is loaded successfully. |
unload()
Unload the minimap extension.
Returns
| type | description |
|---|---|
| boolean | True if minimap extension is unloaded successfully. |
onCameraChange(withTransition)
Occurs when camera changes
Parameters
| withTransition* boolean | True if cameara changed with a transition. |
* Required
destroyUI()
Destroys minimap’s UI