|
@@ -1700,8 +1700,10 @@ export default {
|
|
newData[i].longitude,
|
|
newData[i].longitude,
|
|
0
|
|
0
|
|
);
|
|
);
|
|
- this.platformInfo.distance = returnData.distance.toFixed(7);
|
|
|
|
- this.platformInfo.bearing = returnData.bearing.toFixed(7);
|
|
|
|
|
|
+ this.platformInfo.distance = Number(
|
|
|
|
+ returnData.distance.toFixed()
|
|
|
|
+ );
|
|
|
|
+ this.platformInfo.bearing = Number(returnData.bearing.toFixed(2));
|
|
this.trackGraphicsLine.moveTo(
|
|
this.trackGraphicsLine.moveTo(
|
|
this.platformInfo.coordinateX,
|
|
this.platformInfo.coordinateX,
|
|
this.platformInfo.coordinateY
|
|
this.platformInfo.coordinateY
|