From ea52386a7c7b3ef91784280e3033f190ac39caee Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期三, 14 十二月 2022 17:41:25 +0800 Subject: [PATCH] 综合展示,导入导出,三维截面分析,影像对比分析 --- src/components/mapsdk.vue | 56 ++++++++++++++++++++++---------------------------------- 1 files changed, 22 insertions(+), 34 deletions(-) diff --git a/src/components/mapsdk.vue b/src/components/mapsdk.vue index 41a8d33..eabb42f 100644 --- a/src/components/mapsdk.vue +++ b/src/components/mapsdk.vue @@ -122,10 +122,11 @@ </div> <div class="box-body"> <el-form ref="form" :model="pathFrom" label-width="50px"> - <el-form-item label="缁忓害:"> + <el-form-item label="璧风偣:"> <el-input - style="width: 300px" + style="width: 250px" v-model="pathFrom.lon" + :disabled="true" ></el-input> <el-link :underline="false" @@ -134,10 +135,11 @@ ><i style="color: white" class="el-icon-plus"></i ></el-link> </el-form-item> - <el-form-item label="绾害:"> + <el-form-item label="缁堢偣:"> <el-input - style="width: 300px" + style="width: 250px" v-model="pathFrom.lat" + :disabled="true" ></el-input> <el-link :underline="false" @@ -197,8 +199,8 @@ showPathAnalysisBoxDialog: false, comprehensive: {}, pathFrom: { - lon: '116.086746,39.937314', - lat: '116.086000,39.936289', + lon: ' ', + lat: ' ', }, bufFrom: { val: 50, @@ -340,21 +342,6 @@ }) ); - // sgworld.Navigate.jumpTo({ - // //璺宠浆瑙嗚 - // destination: { - // x: 311837.3471863137, - // y: 5628280.936629815, - // z: 2992581.921482893, - // }, - // orientation: { - // heading: 2.5028896264234364, - // pitch: -0.2201285642360813, - // roll: 0.0, - // }, - // }); - - // Viewer.scene.globe.depthTestAgainstTerrain = true; Viewer._enableInfoOrSelection = false; //鏄剧ずfps Viewer.scene.debugShowFramesPerSecond = false; @@ -362,20 +349,21 @@ window.sgworld.navControl('nav', false); //姣斾緥灏� window.sgworld.navControl('scale', false); - + //寮�鍚繁搴︽娴� + sgworld.Analysis.depthTestAgainstTerrain(true); //褰卞儚瀵规瘮璁剧疆 - var base = { - url: 'https://a.tile.openstreetmap.org/', - }; - window.openStreetMap = sgworld.Creator.createImageryProvider( - 'OpenStreetMap', - 'OpenStreetMap', - base, - '0', - undefined, - true, - '' - ); + // var base = { + // url: 'https://a.tile.openstreetmap.org/', + // }; + // window.openStreetMap = sgworld.Creator.createImageryProvider( + // 'OpenStreetMap', + // 'OpenStreetMap', + // base, + // '0', + // undefined, + // true, + // '' + // ); openStreetMap.item.show = false; //mpt鍔犺浇 var option = { -- Gitblit v1.9.3