Browse Source

1.调整参数

master
DIAMOND 9 months ago
parent
commit
e411065430
  1. 4
      src/views/military/modules/ai/monitorArea/components/VCEarthViewer.vue
  2. 12
      src/views/military/modules/earthMap/scene/SceneManage.vue

4
src/views/military/modules/ai/monitorArea/components/VCEarthViewer.vue

@ -475,8 +475,8 @@ async function fly(viewer: any = null) {
let res = response.result.records[0]
//
let CartesianPosition = ellipsoid.cartographicToCartesian({
longitude: res.cameraLon,
latitude: res.cameraLat,
longitude: res.lon,
latitude: res.lat,
height: res.cameraAltitude,
});
// console.log("CartesianPosition", CartesianPosition);

12
src/views/military/modules/earthMap/scene/SceneManage.vue

@ -91,13 +91,13 @@
<a-col :span="24" class="xyzContainer">
<span>中心经度</span>
<a-tag color="#2db7f5">
{{ Number.parseFloat(record.xyz[0] == undefined ? 0 : earthUtils.radianToDegree(record.xyz[0])).toFixed(6) }}
{{ Number.parseFloat(record.xyz[0] == undefined ? 0 : record.xyz[0]).toFixed(6) }}
</a-tag>
</a-col>
<a-col :span="24" class="xyzContainer">
<span>中心纬度</span>
<a-tag color="#87d068">
{{ Number.parseFloat(record.xyz[1] == undefined ? 0 : earthUtils.radianToDegree(record.xyz[1])).toFixed(6) }}
{{ Number.parseFloat(record.xyz[1] == undefined ? 0 : record.xyz[1]).toFixed(6) }}
</a-tag>
</a-col>
<a-col :span="24" class="xyzContainer">
@ -135,19 +135,19 @@
<a-col :span="24" class="xyzContainer">
<span>相机经度</span>
<a-tag color="#2db7f5">
{{ Number.parseFloat(record.cxyz[0] == undefined ? 0 : earthUtils.radianToDegree(record.cxyz[0])).toFixed(6) }}
{{ Number.parseFloat(record.cxyz[0] == undefined ? 0 : record.cxyz[0]).toFixed(6) }}
</a-tag>
</a-col>
<a-col :span="24" class="xyzContainer">
<span>相机纬度</span>
<a-tag color="#87d068">
{{ Number.parseFloat(record.cxyz[1] == undefined ? 0 : earthUtils.radianToDegree(record.cxyz[1])).toFixed(6) }}
{{ Number.parseFloat(record.cxyz[1] == undefined ? 0 : record.cxyz[1]).toFixed(6) }}
</a-tag>
</a-col>
<a-col :span="24" class="xyzContainer">
<span>相机高度</span>
<a-tag color="#108ee9">
{{ Number.parseFloat(record.cxyz[2] == undefined ? 0 : record.cxyz[2]).toFixed(6) }}
{{ Number.parseFloat(record.cxyz[2] == undefined ? 0 : record.cxyz[2]).toFixed(4) }}
</a-tag>
</a-col>
</a-row>
@ -180,7 +180,7 @@
import deleteIcon from '@/assets/images/delete.png';
import edit from '@/assets/images/edit.png';
import { CheckOutlined, CloseOutlined, ExclamationCircleOutlined } from '@ant-design/icons-vue';
import earthUtils from '@/utils/earthMap/earth';
// import earthUtils from '@/utils/earthMap/earth';
// api
const querySceneList = (params) => {
return defHttp.get({ url: '/military/msMapScene/list', params }, { isTransformResponse: false });

Loading…
Cancel
Save