Browse Source

REPORT-104017 删除没用的代码

new-design
obo 1 year ago
parent
commit
34a49a231f
  1. 11
      designer-chart/src/main/java/com/fr/van/chart/map/designer/type/GisLayerPane.java

11
designer-chart/src/main/java/com/fr/van/chart/map/designer/type/GisLayerPane.java

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

Loading…
Cancel
Save