| | |
| | | // 3、4、5的时候代表飞行过程 绘制路线 |
| | | console.log(data.deviceInfo[data.currentSn], 'Aircraft') |
| | | // eslint-disable-next-line eqeqeq |
| | | if (data.deviceInfo[data.currentSn].mode_code && (data.deviceInfo[data.currentSn].mode_code == 3 || data.deviceInfo[data.currentSn].mode_code == 4 || data.deviceInfo[data.currentSn].mode_code == 5)) { |
| | | if (data.deviceInfo[data.currentSn].mode_code && (data.deviceInfo[data.currentSn].mode_code == 3 || data.deviceInfo[data.currentSn].mode_code == 4 || data.deviceInfo[data.currentSn].mode_code == 5 || data.deviceInfo[data.currentSn].mode_code == 9)) { |
| | | const newPositions = Cesium.Cartesian3.fromDegreesArray([data.deviceInfo[data.currentSn].longitude, data.deviceInfo[data.currentSn].latitude]) |
| | | previousPositions.value = previousPositions.value.concat(newPositions) |
| | | // 更新线段的位置 |