This commit is contained in:
zh
2025-09-11 14:59:12 +08:00
parent d20db7c91b
commit 54afe11fa6
11 changed files with 124 additions and 1141 deletions

View File

@ -206,7 +206,7 @@ class GroundText extends Base {
}
set angle(v) {
this.options.angle = v
this.options.angle = Number(v)
this._elms.angle &&
this._elms.angle.forEach(item => {
item.value = v
@ -218,7 +218,7 @@ class GroundText extends Base {
}
set scale(v) {
this.options.scale = v
this.options.scale = Number(v)
this._elms.scale &&
this._elms.scale.forEach(item => {
item.value = v
@ -250,7 +250,7 @@ class GroundText extends Base {
}
set speed(v) {
this.options.speed = v
this.options.speed = Number(v)
let canvas = this.getcanvas()
this.entity.rectangle.material = new Cesium.CustomMaterialSource({
image: canvas.toDataURL('image/png'),