二三维同步文本框

This commit is contained in:
takeshita
2025-12-02 14:40:07 +08:00
parent db0d907e40
commit c9ab02e3fc
2 changed files with 5 additions and 2 deletions

View File

@ -241,7 +241,9 @@ class CurvelineObject extends Base {
})
this.options.rotate = v
this.entity.polyline.material = this.getMaterial(this.options.color, this.options.type, this.entity, this.options)
let params = { ...this.options }
params.speed = this.inputSpeed
this.entity.polyline.material = this.getMaterial(this.options.color, this.options.type, this.entity, params)
}
get space() {

View File

@ -33,7 +33,7 @@ class TextBox extends Base {
this.callback = callback
// syncData(this.sdk, this.options.id)
syncData(this.sdk, this.options.id)
}
@ -283,6 +283,7 @@ class TextBox extends Base {
this.sdk.viewer.cesiumWidget.container.removeChild(this.textDom);
}
await this.sdk.removeIncetance(this.options.id)
syncData(this.sdk, this.options.id)
}
flicker() { }