From 7860cd2d2dc0c1164a2f65a69081369d1abd6377 Mon Sep 17 00:00:00 2001 From: surprise <15810472099@163.com> Date: 星期五, 13 十月 2023 00:34:46 +0800 Subject: [PATCH] 代码更新 --- static/mapData.js | 15 +++++++-------- src/components/map/viewer.vue | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/components/map/viewer.vue b/src/components/map/viewer.vue index cc2a42a..e4dd6cd 100644 --- a/src/components/map/viewer.vue +++ b/src/components/map/viewer.vue @@ -141,7 +141,7 @@ //鍦颁笅妯″紡璺濈鍙傛暟 Viewer.scene.globe.translucency.frontFaceAlpha = 0.5; Viewer.scene.globe.undergroundColor = undefined; - window.Viewer.scene.screenSpaceCameraController.minimumZoomDistance = 500 + mapMsg.init(); rpc.clickToCoordinates(); mapMsg.setTime(); diff --git a/static/mapData.js b/static/mapData.js index 0293b8c..437e9e4 100644 --- a/static/mapData.js +++ b/static/mapData.js @@ -3,14 +3,13 @@ apiUrl: 'http://10.10.4.121:8070/', //鎺ュ彛璋冪敤鍦板潃 apiUrl1: 'http://10.10.4.121:8070/PoiExcel', //鎺ュ彛璋冪敤鍦板潃 mapRest: { - - lng:-2189057.520899536, - lat:4391362.253844792, - alt:4061614.05434034, - heading:2.6476305164192566, - pitch:-0.34141671341299507, - roll:6.283179093517075, - + + lng: -2189204.3052408984, //缁忓害0 + lat: 4391299.928900704, //绾害 + alt: 4061302.0742125358, //楂樺害 + heading: 2.706017718142978, //鍋忕Щ瑙掑害 + pitch: -0.06450211339012002, //淇话瑙掑害 + roll: 0.0000010046555702913906 //鏃嬭浆瑙掑害 }, -- Gitblit v1.9.3