From b1ec910ae7c0c19f6afabafd3cb75722a6b059dd Mon Sep 17 00:00:00 2001 From: jihongshun <1151753686@qq.com> Date: 星期三, 30 七月 2025 15:54:33 +0800 Subject: [PATCH] 鼠标缩放控制视锥体 --- src/views/system/project/components/addPorjectDialog.vue | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/views/system/project/components/addPorjectDialog.vue b/src/views/system/project/components/addPorjectDialog.vue index b0fafb8..661d048 100644 --- a/src/views/system/project/components/addPorjectDialog.vue +++ b/src/views/system/project/components/addPorjectDialog.vue @@ -100,7 +100,7 @@ }, 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); // 鏈濅笢鍗楁柟鍚� @@ -412,7 +412,13 @@ 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 + } }); }); }); -- Gitblit v1.9.3