From b8bcb978847bc38a8548ba3f27e7e475a7314171 Mon Sep 17 00:00:00 2001 From: TreeWish <1131093754@qq.com> Date: 星期二, 07 二月 2023 10:40:18 +0800 Subject: [PATCH] 新增高程量测 --- public/config/config.js | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/public/config/config.js b/public/config/config.js index 5031c5f..e16ca7c 100644 --- a/public/config/config.js +++ b/public/config/config.js @@ -1,10 +1,11 @@ -var isWeb = location.hostname.indexOf("103.85.165.") > -1; +//var isWeb = location.hostname.indexOf("103.85.165.") > -1; +var isWeb = true; -var webHost = isWeb ? location.hostname + ":8052" : '192.168.20.106' + ":12316"; +var webHost = isWeb ? "103.85.165.99" + ":8052" : '192.168.20.205' + ":8088"; -var fmeHost = isWeb ? location.hostname + ":8051" : '192.168.20.205' + ":88"; +var fmeHost = isWeb ? "103.85.165.99" + ":8051" : '192.168.20.205' + ":88"; -var iisHost = isWeb ? location.hostname + ":8050" : '192.168.20.205' + ":80"; +var iisHost = isWeb ? "103.85.165.99" + ":8050" : '192.168.20.205' + ":80"; var menuStartName = "绠¢亾鍩虹澶ф暟鎹钩鍙�"; @@ -16,7 +17,7 @@ var socketUrl = 'ws://' + webHost + '/server/ws/select'; // GeoServerUrl -var geoServerURl = 'http://192.168.20.205:8088//geoserver/LF/wms'; +var geoServerURl = 'http://' + webHost + '/geoserver/LF/wms'; var geoserverWFS = '/geoserver/LF/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=LF%3Abs_project&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=projname='; @@ -26,7 +27,7 @@ var modelUrl = LFData + '/tileset/SN/tileset.json'; // DEM -var demLayer = 'http://192.168.20.55/LFData/dem'; + var demLayer = LFData + '/dem'; // 缁煎悎灞曠ず window.sceneConfig = { -- Gitblit v1.9.3