From ba88a96b97db99e4684a9392152dbdaa3ff7bcf2 Mon Sep 17 00:00:00 2001
From: WX <1377869194@qq.com>
Date: 星期四, 21 九月 2023 17:48:11 +0800
Subject: [PATCH] 修改下载服务

---
 src/components/MapView/moonMap.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/components/MapView/moonMap.vue b/src/components/MapView/moonMap.vue
index 469b539..3f86049 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();
@@ -153,7 +153,10 @@
       this.getLonLat();
       var token = getToken();
       var demUrl = `${BASE_URL}/proxy/${token}/25`
-      var wmtsUrl = `${BASE_URL}/proxy/${token}/26`
+      // var wmtsUrl = `${BASE_URL}/proxy/${token}/26`
+       var wmtsUrl = `${BASE_URL}/proxy/${token}/173`
+      // http://100.10.1.169:8088/MoonServer/proxy/a17b6c40-c328-4560-8f3c-2deda0dffc23/173
+      // var wmtsUrl = 'http://172.16.2.10:50005/sj_raster/v6/wmts/service/system/10013501/7?ak=mf72ff9295c740ec0f37e61433e8a3ad8d'
       this.AddDemLayer(demUrl)
       this.AddWmtesLayer(wmtsUrl)
     },
@@ -184,7 +187,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 +222,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