| @@ -50,7 +50,7 @@ class Track { | |||
| polyline: { | |||
| positions: new Cesium.CallbackProperty(() => { | |||
| return this._pathPositions | |||
| }) | |||
| }, false) | |||
| } | |||
| }) | |||
| this._positionIndex = 0 | |||
| @@ -139,7 +139,7 @@ class CustomBillboard extends Overlay { | |||
| stRotation = 0 | |||
| } | |||
| return stRotation | |||
| }) | |||
| }, false) | |||
| } | |||
| return this | |||
| } | |||
| @@ -110,7 +110,7 @@ class CustomLabel extends Overlay { | |||
| stRotation = 0 | |||
| } | |||
| return stRotation | |||
| }) | |||
| }, false) | |||
| } | |||
| return this | |||
| } | |||
| @@ -53,7 +53,7 @@ class Circle extends Overlay { | |||
| this._stRotation = 0 | |||
| } | |||
| return Cesium.Math.toRadians(this._stRotation) | |||
| }) | |||
| }, false) | |||
| return this | |||
| } | |||
| @@ -22,7 +22,7 @@ class EditBillboard extends Edit { | |||
| this._position = this._delegate.position.getValue(Cesium.JulianDate.now()) | |||
| this._delegate.position = new Cesium.CallbackProperty(() => { | |||
| return this._position | |||
| }) | |||
| }, false) | |||
| this._layer.entities.add(this._delegate) | |||
| } | |||
| @@ -22,7 +22,7 @@ class EditPoint extends Edit { | |||
| this._position = this._delegate.position.getValue(Cesium.JulianDate.now()) | |||
| this._delegate.position = new Cesium.CallbackProperty(() => { | |||
| return this._position | |||
| }) | |||
| }, false) | |||
| this._layer.entities.add(this._delegate) | |||
| } | |||