This commit is contained in:
zh
2025-12-19 12:34:25 +08:00
parent 8025e1c261
commit 5332767287
32 changed files with 330 additions and 45 deletions

View File

@ -143,6 +143,7 @@ class TrajectoryMotionObject extends Base {
}
}
let positions_smooth = this._renewLine(this.options.line.positions)
this.line.polyline.positions = positions_smooth
this._elms.height && this._elms.height.forEach((item) => {
item.value = v
})
@ -210,6 +211,7 @@ class TrajectoryMotionObject extends Base {
this.lineEdit = false
this.options.line.smooth = v
let positions = this._renewLine(this.options.line.positions)
this.line.polyline.positions = positions
this.modelMove(positions)
this._elms.smooth && this._elms.smooth.forEach((item) => {
item.checked = v
@ -271,6 +273,7 @@ class TrajectoryMotionObject extends Base {
let nosmooth = Cesium.Cartesian3.fromDegreesArrayHeights(fromDegreesArrayHeights)
if (this.line) {
let positions_smooth = this._renewLine(this.options.line.positions)
this.line.polyline.positions = positions_smooth
this.modelMove(positions_smooth)
}
this._elms.noseToTail && this._elms.noseToTail.forEach((item) => {