Browse Source

REPORT-96204 GISLayerType中GAO_DE_API命名回退下,考虑兼容问题,重构相关操作放后面

feature/x
obo 1 year ago
parent
commit
53952c3033
  1. 4
      designer-chart/src/main/java/com/fr/van/chart/map/designer/type/GisLayerPane.java

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

@ -269,7 +269,7 @@ public class GisLayerPane extends JPanel implements UIObserver {
layer.setLayerName(GISLayerType.getLocString(GISLayerType.AUTO)); layer.setLayerName(GISLayerType.getLocString(GISLayerType.AUTO));
//dealWithTemplateTheme(layer); //dealWithTemplateTheme(layer);
break; break;
case STANDARD: case GAO_DE_API:
populateStandardGis(layer); populateStandardGis(layer);
case LAYER_NULL: case LAYER_NULL:
populateStandardGis(layer); populateStandardGis(layer);
@ -330,7 +330,7 @@ public class GisLayerPane extends JPanel implements UIObserver {
if (standardLayers.getSelectedIndex() == standardLayers.getItemCount() - 1) { if (standardLayers.getSelectedIndex() == standardLayers.getItemCount() - 1) {
layer.setGisLayerType(MapLayerConfigManager.getGisLayerType(layerName)); layer.setGisLayerType(MapLayerConfigManager.getGisLayerType(layerName));
} else { } else {
layer.setGisLayerType(GISLayerType.STANDARD); layer.setGisLayerType(GISLayerType.GAO_DE_API);
layer.setGaoDeGisType(GaoDeGisType.parseByLocaleName(layerName)); layer.setGaoDeGisType(GaoDeGisType.parseByLocaleName(layerName));
} }
} }

Loading…
Cancel
Save