Browse Source

Pull request #3810: CHART-18619 gis国际化默认值修改

Merge in DESIGN/design from ~BJORN/design:release/10.0 to release/10.0

* commit '013a6396f7311a0d770254d4d4f48eadcd3bb46f':
  CHART-18619 gis国际化默认值修改
feature/big-screen
ju|剧浩宇 4 years ago
parent
commit
868ea3009b
  1. 9
      designer-chart/src/main/java/com/fr/van/chart/map/designer/type/GisLayerPane.java

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

@ -221,12 +221,9 @@ public class GisLayerPane extends JPanel implements UIObserver {
/* mapPlot.getGisLayer().setGisLayerType(GISLayerType.AUTO);
mapPlot.getGisLayer().setLayerName(GISLayerType.getLocString(GISLayerType.AUTO));*/
GaoDeGisType gaoDeGisType= mapPlot.getDefaultGisLayerType();
mapPlot.getGisLayer().setGisLayerType(GISLayerType.GAO_DE_API);
mapPlot.getGisLayer().setLayerName(gaoDeGisType.getTypeName());
mapPlot.getGisLayer().setGaoDeGisType(gaoDeGisType);
populate(mapPlot.getGisLayer());
GisLayer defaultGisLayer = mapPlot.getDefaultGisLayer();
mapPlot.setGisLayer(defaultGisLayer);
populate(defaultGisLayer);
}
public void populate(GisLayer layer) {

Loading…
Cancel
Save