二三维同步文本框
This commit is contained in:
@ -241,7 +241,9 @@ class CurvelineObject extends Base {
|
|||||||
})
|
})
|
||||||
|
|
||||||
this.options.rotate = v
|
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() {
|
get space() {
|
||||||
|
|||||||
@ -33,7 +33,7 @@ class TextBox extends Base {
|
|||||||
|
|
||||||
this.callback = callback
|
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);
|
this.sdk.viewer.cesiumWidget.container.removeChild(this.textDom);
|
||||||
}
|
}
|
||||||
await this.sdk.removeIncetance(this.options.id)
|
await this.sdk.removeIncetance(this.options.id)
|
||||||
|
syncData(this.sdk, this.options.id)
|
||||||
}
|
}
|
||||||
|
|
||||||
flicker() { }
|
flicker() { }
|
||||||
|
|||||||
Reference in New Issue
Block a user