合并
This commit is contained in:
@ -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'),
|
||||
|
Reference in New Issue
Block a user