二三维增加单独展示在二维或者三维的功能,贴地图片增加设置锚点功能

This commit is contained in:
zh
2025-08-09 18:20:02 +08:00
parent 656a21a6dd
commit e38dd4d029
17 changed files with 510 additions and 120 deletions

View File

@ -223,16 +223,30 @@ class CircleDiffuse extends Base {
set show(v) {
if (typeof v === "boolean") {
this.options.show = v
this.entity.show = v
if (!this.isShowView) {
this.options.show = v
}
if (!this.showView || this.showView == 3) {
this.entity.show = this.options.show
if (this.options.label.show) {
this.label.show = this.options.show
}
}
else {
this.entity.show = false
if (this.options.label.show) {
this.label.show = false
}
}
this.isShowView = false
syncData(this.sdk, this.options.id)
syncSplitData(this.sdk, this.options.id)
if (this._DialogObject && this._DialogObject.showBtn) {
this._DialogObject.showBtn.checked = v
}
if (this.options.label.show) {
this.label.show = v
}
} else {
console.error("参数必须为boolean")
}
@ -429,7 +443,7 @@ class CircleDiffuse extends Base {
}
set labelShow(v) {
this.options.label.show = v
if (this.show) {
if (this.show && (!this.showView || this.showView == 3)) {
this.label.show = v
}
else {