Browse Source

REPORT-138445 wms图层连接问题

修复一个逻辑问题
fbp/master
shengzu.xue 1 month ago
parent
commit
513fceea1d
  1. 1
      designer-chart/src/main/java/com/fr/van/chart/map/designer/type/WMSLayerPane.java

1
designer-chart/src/main/java/com/fr/van/chart/map/designer/type/WMSLayerPane.java

@ -85,6 +85,7 @@ public class WMSLayerPane extends JPanel implements UIObserver {
@Override @Override
protected Void doInBackground() { protected Void doInBackground() {
List<String> wmsNames = MapEditService.getInstance().getWMSNames(wmsUrl.getText()); List<String> wmsNames = MapEditService.getInstance().getWMSNames(wmsUrl.getText());
list.clear();
for (String layer : wmsNames) { for (String layer : wmsNames) {
list.add(new WMSLayer(layer, false)); list.add(new WMSLayer(layer, false));
} }

Loading…
Cancel
Save