From 21ddc9ec1b1b76d2ce20e512328e65acaf1af2bf Mon Sep 17 00:00:00 2001 From: Surpriseplus <845948745@qq.com> Date: 星期一, 16 一月 2023 10:35:15 +0800 Subject: [PATCH] 廊坊代码更新 --- public/config/config.js | 35 +++++++++++++++++++++++++++++------ 1 files changed, 29 insertions(+), 6 deletions(-) diff --git a/public/config/config.js b/public/config/config.js index 083ce28..cb3d24a 100644 --- a/public/config/config.js +++ b/public/config/config.js @@ -1,8 +1,10 @@ var ipConfig = '192.168.20.39'; - +// var ipConfig = '103.85.165.98'; +// var ipConfig = '169.254.26.54'; +// var ipConfig ='169.254.112.189'; var menuStartName = "绠¢亾鍩虹澶ф暟鎹钩鍙�"; -var LFData = "http://" + ipConfig + "/LFData"; +var LFData = "http://169.254.26.54/LFData"; var BASE_URL = 'http://' + ipConfig + ':12316/server'; @@ -20,6 +22,7 @@ //geoServerUrl var geoserver = 'http://' + ipConfig + ':8088'; +// var geoserver = "http://169.254.112.189:8088" var geoServerURl = geoserver + '/geoserver/LF/wms'; var geoserverWFS = geoserver + '/geoserver/LF/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=LF%3Abs_project&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=projname='; var geoserverWFSLine = geoserver + '/geoserver/LF/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=LF%3Am_pipeline&maxFeatures=50&outputFormat=application%2Fjson&cql_filter=projname='; @@ -28,18 +31,38 @@ var modelUrl = 'http://' + ipConfig + '/LFData/tileset/SN/tileset.json'; //DEM -var demLayer = 'http://' + ipConfig + '/LFData/dem'; +var demLayer = LFData+'/dem'; //缁煎悎灞曠ず +// window.sceneConfig = { +// // sdk璁稿彲 +// // licenseServer: 'http://169.254.218.114/LFServer', +// licenseServer: 'http://localhost/LFServer', +// // licenseServer: 'http://183.162.245.49:18080', + +// // 鏈嶅姟鍦板潃 +// // baseURL: 'http://183.162.245.49:8888/', +// // +// positionBtn: [], +// }; +// 缁煎悎灞曠ず window.sceneConfig = { // sdk璁稿彲 - licenseServer: 'http://' + ipConfig + '/LFServer', + // licenseServer: 'http://' + ipConfig + '/LFServer', + licenseServer: 'http://localhost/LFServer', // 鏈嶅姟鍦板潃 - // baseURL: 'http://183.162.245.49:8888/', - // + baseURL: 'http://183.162.245.49:8888/', + // MPT鍚嶇О + // mptName: "china_5m.Ei.397334", + // // SG鍦板潃 + // SGUrl: "http://" + ipConfig + "/SG/Elevation", + mptName: 'http://183.162.245.49:82/SG/Elevation', + mptName: 'zhufeng.397336.mpt', positionBtn: [], }; + + var gaoDeBaseUrl = [{ url: 'http://webrd02.is.autonavi.com/appmaptile?lang=zh_cn&size=1&scale=1&style=8&x={x}&y={y}&z={z}', label: '楂樺痉鐭㈤噺', -- Gitblit v1.9.3