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

Loading…
Cancel
Save