12-19
This commit is contained in:
@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user