|
|
|
@ -253,19 +253,9 @@ public class GisLayerPane extends JPanel implements UIObserver {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void resetGisLayer(VanChartMapPlot mapPlot) { |
|
|
|
|
|
|
|
|
|
// if (ChartEditContext.supportTheme()) {
|
|
|
|
|
GisLayer defaultGisLayer = mapPlot.getDefaultGisLayer(); |
|
|
|
|
mapPlot.setGisLayer(defaultGisLayer); |
|
|
|
|
populate(defaultGisLayer); |
|
|
|
|
// } else {
|
|
|
|
|
// GaoDeGisType gaoDeGisType = mapPlot.getDefaultGisLayerType();
|
|
|
|
|
//
|
|
|
|
|
// mapPlot.getGisLayer().setGisLayerType(GISLayerType.GAO_DE_API);
|
|
|
|
|
// mapPlot.getGisLayer().setLayerName(gaoDeGisType.getTypeName());
|
|
|
|
|
// mapPlot.getGisLayer().setGaoDeGisType(gaoDeGisType);
|
|
|
|
|
// populate(mapPlot.getGisLayer());
|
|
|
|
|
// }
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void populate(GisLayer layer) { |
|
|
|
@ -274,7 +264,6 @@ public class GisLayerPane extends JPanel implements UIObserver {
|
|
|
|
|
gisButton.setSelectedIndex(0); |
|
|
|
|
layer.setGisLayerType(GISLayerType.AUTO); |
|
|
|
|
layer.setLayerName(GISLayerType.getLocString(GISLayerType.AUTO)); |
|
|
|
|
//dealWithTemplateTheme(layer);
|
|
|
|
|
break; |
|
|
|
|
case GAO_DE_API: |
|
|
|
|
populateStandardGis(layer); |
|
|
|
|