From d7e010a6fea2c5b66a3bd35cbfcca0f72ce5bf3a Mon Sep 17 00:00:00 2001 From: "shengzu.xue" Date: Wed, 23 Oct 2024 19:25:18 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-138445=20wms=E5=9B=BE=E5=B1=82=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E9=97=AE=E9=A2=98=20=E8=8E=B7=E5=8F=96=E5=9B=BE?= =?UTF-8?q?=E5=B1=82=E9=80=BB=E8=BE=91=E8=A2=AB=E6=B3=A8=E9=87=8A=E6=8E=89?= =?UTF-8?q?=E4=BA=86=EF=BC=8C=E9=87=8D=E6=96=B0=E5=8A=A0=E5=9B=9E=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fr/van/chart/map/designer/type/WMSLayerPane.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/designer-chart/src/main/java/com/fr/van/chart/map/designer/type/WMSLayerPane.java b/designer-chart/src/main/java/com/fr/van/chart/map/designer/type/WMSLayerPane.java index cac695bf17..956dc597d2 100644 --- a/designer-chart/src/main/java/com/fr/van/chart/map/designer/type/WMSLayerPane.java +++ b/designer-chart/src/main/java/com/fr/van/chart/map/designer/type/WMSLayerPane.java @@ -2,6 +2,7 @@ package com.fr.van.chart.map.designer.type; import com.fine.theme.utils.FineLayoutBuilder; +import com.fr.decision.webservice.v10.map.MapEditService; import com.fr.design.dialog.FineJOptionPane; import com.fr.design.event.UIObserver; import com.fr.design.event.UIObserverListener; @@ -83,10 +84,7 @@ public class WMSLayerPane extends JPanel implements UIObserver { @Override protected Void doInBackground() { - /// 待实现 - // MapEditService.getInstance().getWMSNames(wmsUrl.getText()); - List wmsNames = new ArrayList<>(); - list.clear(); + List wmsNames = MapEditService.getInstance().getWMSNames(wmsUrl.getText()); for (String layer : wmsNames) { list.add(new WMSLayer(layer, false)); }