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