|
|
@ -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)); |
|
|
|
} |
|
|
|
} |
|
|
|