Browse Source

REPORT-138445 wms图层连接问题

获取图层逻辑被注释掉了,重新加回来
fbp/master
shengzu.xue 1 month ago
parent
commit
d7e010a6fe
  1. 6
      designer-chart/src/main/java/com/fr/van/chart/map/designer/type/WMSLayerPane.java

6
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<String> wmsNames = new ArrayList<>();
list.clear();
List<String> wmsNames = MapEditService.getInstance().getWMSNames(wmsUrl.getText());
for (String layer : wmsNames) {
list.add(new WMSLayer(layer, false));
}

Loading…
Cancel
Save