bc-model-viewer 1.7.20 → 1.7.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -60,7 +60,9 @@
|
|
|
60
60
|
await viewer.loadZipAsync('../../assets/dgz/建筑.dgz')
|
|
61
61
|
// await viewer.loadZipAsync('../../assets/new.dgz')
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
// AnnotationTool 已在 Viewer 构造函数中自动初始化
|
|
64
|
+
// 可以通过 viewer.annotationTool 访问
|
|
65
|
+
const tool = viewer.annotationTool
|
|
64
66
|
|
|
65
67
|
tool.activate()
|
|
66
68
|
|