From d88143708375c191f1e9f0bc567ef1e18dbeaa1e Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期四, 31 八月 2023 16:02:17 +0800 Subject: [PATCH] 资源查询,资源管理修改 --- src/components/MapView/moonMap.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/MapView/moonMap.vue b/src/components/MapView/moonMap.vue index 469b539..5358d65 100644 --- a/src/components/MapView/moonMap.vue +++ b/src/components/MapView/moonMap.vue @@ -133,7 +133,7 @@ ); //椤甸潰鍒濆鍖� this.earthCtrl = new SmartEarth.EarthCtrl("cesiumContainer", { - // StaticFileBaseUrl: StaticFileBaseUrl, + StaticFileBaseUrl: StaticFileBaseUrl, ellipsoidCoordinates: "MOON", }); this.earthCtrl.environment.disableAllEffect(); @@ -184,7 +184,7 @@ Cesium.Cartographic.fromDegrees(that.longitude, that.latitude, 0) ) if (that.altHeight) { - that.altHeight = that.altHeight.toFixed(6); + that.altHeight = that.altHeight.toFixed(2); } } }, SmartEarth.Cesium.ScreenSpaceEventType.MOUSE_MOVE); @@ -219,7 +219,7 @@ globe.ellipsoid.cartesianToCartographic(rightPosition); var geodesic = new SmartEarth.Cesium.EllipsoidGeodesic(); geodesic.setEndPoints(leftCartographic, rightCartographic); - that.rate = geodesic.surfaceDistance.toFixed(6); //鍒嗚鲸鐜� + that.rate = geodesic.surfaceDistance.toFixed(2); //鍒嗚鲸鐜� }); }, -- Gitblit v1.9.3