From 81f92eb9fb83ed5d8ac0b0a5c206315416f10df0 Mon Sep 17 00:00:00 2001
From: suerprisePlus <15810472099@163.com>
Date: 星期四, 04 七月 2024 10:14:06 +0800
Subject: [PATCH] 系统更新

---
 src/assets/js/map/mapView.js |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/assets/js/map/mapView.js b/src/assets/js/map/mapView.js
index 515ac66..b2365fb 100644
--- a/src/assets/js/map/mapView.js
+++ b/src/assets/js/map/mapView.js
@@ -21,17 +21,22 @@
     Viewer.scene.globe.baseColor = Cesium.Color.fromCssColorString("#A9A9A9"); //璁剧疆鍦扮悆棰滆壊
     // 娓呯┖榛樿搴曞浘
     Viewer.imageryLayers.removeAll();
-
+    Viewer.scene.globe.depthTestAgainstTerrain = false;
+    earthCtrl.factory.createTerrainLayer({
+      sourceType: "ctb",
+      url: "http://103.135.160.14:9038/gisserver/ctsserver/SubicBayDEM"
+    });
     mapServer.addServer({
       sourceType: "arcgis",
       url: "https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"
     });
     mapServer.addServer({
       sourceType: "tms",
-      url: "http://192.168.11.41:9001/gisserver/tmsserver/SubicBayArea"
+      url: "http://103.135.160.14:9038/gisserver/tmsserver/SubicBayArea"
     });
+
     modelLayer.init();
-    mapInfo.setEntityQueryInput();
+ 
     // const url = layerJson.getQueryUrl("SubicBayAreaVector_wfs", "GeoEntity");
     // layerJson.init(url);
   }

--
Gitblit v1.9.3