From 3c0bcd367dbc9aff25202d1a8ec2eb143f3e8261 Mon Sep 17 00:00:00 2001
From: Surpriseplus <845948745@qq.com>
Date: 星期一, 16 一月 2023 14:52:09 +0800
Subject: [PATCH] 按钮大小调整

---
 public/config/config.js |   33 +++++++--------------------------
 1 files changed, 7 insertions(+), 26 deletions(-)

diff --git a/public/config/config.js b/public/config/config.js
index cb3d24a..613cf5c 100644
--- a/public/config/config.js
+++ b/public/config/config.js
@@ -1,10 +1,8 @@
 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://169.254.26.54/LFData";
+var LFData = "http://" + ipConfig + "/LFData";
 
 var BASE_URL = 'http://' + ipConfig + ':12316/server';
 
@@ -22,7 +20,6 @@
 
 //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=';
@@ -31,38 +28,22 @@
 var modelUrl = 'http://' + ipConfig + '/LFData/tileset/SN/tileset.json';
 
 //DEM
-var demLayer = LFData+'/dem';
+var demLayer = 'http://' + ipConfig + '/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://localhost/LFServer',
+  licenseServer: 'http://' + ipConfig + '/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',
+  SGUrl: "http://" + ipConfig + "/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