فهرست منبع

feat:图层来源及参数修改

huangsanbao 1 سال پیش
والد
کامیت
d1503aec2e
1فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  1. 4 3
      ruoyi-ui/src/components/map/index.vue

+ 4 - 3
ruoyi-ui/src/components/map/index.vue

@@ -426,7 +426,8 @@ let mapv = null;
 
 let mapturl = "http://36.156.155.131:8090/geoserver/wms";
 // let mapturl = "/tailgas/geoserver/wms";
-let mapturlpro = "/geoserver/gwc/service/wms"
+// let mapturlpro = "/geoserver/gwc/service/wms"
+let mapturlpro = "/geoserver/CJ/wms"
 let mapurlpro1 = "/geoserver1"
 
 //  ispro = false;
@@ -910,7 +911,7 @@ export default {
             'VERSION': '1.1.1',
             "STYLES": '',
             "CJAUTH": 'CJUSER',
-            "LAYERS": 'CJ:G_CJ',
+            "LAYERS": 'CJ:G_CJ_NJ',
             "TRANSPARENT": 'true',
             "exceptions": 'application/vnd.ogc.se_inimage',
           }
@@ -928,7 +929,7 @@ export default {
             tiled: true,
             "STYLES": '',
             "CJAUTH": 'CJUSER',
-            "LAYERS": 'CJ:G_CJ',
+            "LAYERS": 'CJ:G_CJ_NJ',
             "TRANSPARENT": 'true',
             "exceptions": 'application/vnd.ogc.se_inimage',
             tilesOrigin: 13325725.763124488 + "," + 3757032.814272983