| | |
| | | }, |
| | | flyToLocal(row){ |
| | | console.log(row) |
| | | const position = Cesium.Cartesian3.fromDegrees(row.longitude,row.latitude, row.altitude); |
| | | const position = Cesium.Cartesian3.fromDegrees(row.longitude,row.latitude, row.deviceHeight); |
| | | |
| | | // 设置模型方向(可选) |
| | | const heading = Cesium.Math.toRadians(row.face); // 朝东南方向 |
| | |
| | | routePointIndex: routePointList.length, |
| | | longitude: airPoint.longitude, |
| | | latitude: airPoint.latitude, |
| | | height: airPoint.height, |
| | | isStartAndEndPoint: false, |
| | | coordinatePointReq: { |
| | | height: airPoint.children[0].height, |
| | | latitude:airPoint.children[0].latitude, |
| | | longitude: airPoint.children[0].longitude |
| | | } |
| | | }); |
| | | }); |
| | | }); |