| polyline: { | polyline: { | ||||
| positions: new Cesium.CallbackProperty(() => { | positions: new Cesium.CallbackProperty(() => { | ||||
| return this._pathPositions | return this._pathPositions | ||||
| }) | |||||
| }, false) | |||||
| } | } | ||||
| }) | }) | ||||
| this._positionIndex = 0 | this._positionIndex = 0 |
| stRotation = 0 | stRotation = 0 | ||||
| } | } | ||||
| return stRotation | return stRotation | ||||
| }) | |||||
| }, false) | |||||
| } | } | ||||
| return this | return this | ||||
| } | } |
| stRotation = 0 | stRotation = 0 | ||||
| } | } | ||||
| return stRotation | return stRotation | ||||
| }) | |||||
| }, false) | |||||
| } | } | ||||
| return this | return this | ||||
| } | } |
| this._stRotation = 0 | this._stRotation = 0 | ||||
| } | } | ||||
| return Cesium.Math.toRadians(this._stRotation) | return Cesium.Math.toRadians(this._stRotation) | ||||
| }) | |||||
| }, false) | |||||
| return this | return this | ||||
| } | } | ||||
| this._position = this._delegate.position.getValue(Cesium.JulianDate.now()) | this._position = this._delegate.position.getValue(Cesium.JulianDate.now()) | ||||
| this._delegate.position = new Cesium.CallbackProperty(() => { | this._delegate.position = new Cesium.CallbackProperty(() => { | ||||
| return this._position | return this._position | ||||
| }) | |||||
| }, false) | |||||
| this._layer.entities.add(this._delegate) | this._layer.entities.add(this._delegate) | ||||
| } | } | ||||
| this._position = this._delegate.position.getValue(Cesium.JulianDate.now()) | this._position = this._delegate.position.getValue(Cesium.JulianDate.now()) | ||||
| this._delegate.position = new Cesium.CallbackProperty(() => { | this._delegate.position = new Cesium.CallbackProperty(() => { | ||||
| return this._position | return this._position | ||||
| }) | |||||
| }, false) | |||||
| this._layer.entities.add(this._delegate) | this._layer.entities.add(this._delegate) | ||||
| } | } | ||||