From 6ae4841b48665145aa469d574fbadb988a9c498c Mon Sep 17 00:00:00 2001 From: suerprisePlus <15810472099@163.com> Date: 星期四, 27 六月 2024 15:55:17 +0800 Subject: [PATCH] 演示1版本 --- src/assets/js/map/mapView.js | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/assets/js/map/mapView.js b/src/assets/js/map/mapView.js index 515ac66..d397003 100644 --- a/src/assets/js/map/mapView.js +++ b/src/assets/js/map/mapView.js @@ -21,7 +21,9 @@ Viewer.scene.globe.baseColor = Cesium.Color.fromCssColorString("#A9A9A9"); //璁剧疆鍦扮悆棰滆壊 // 娓呯┖榛樿搴曞浘 Viewer.imageryLayers.removeAll(); - + // earthCtrl.factory.createTerrainLayer({sourceType: "ctb", + // url: 'https://tiles1.geovisearth.com/base/v1/terrain?token=486dac3bec56d7d7c2a581c150be2bd937462f1e8f3bc9c78b5658b396122405' + // }); mapServer.addServer({ sourceType: "arcgis", url: "https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer" @@ -30,6 +32,7 @@ sourceType: "tms", url: "http://192.168.11.41:9001/gisserver/tmsserver/SubicBayArea" }); + modelLayer.init(); mapInfo.setEntityQueryInput(); // const url = layerJson.getQueryUrl("SubicBayAreaVector_wfs", "GeoEntity"); -- Gitblit v1.9.3