Browse Source

地图json目录调整

master
mengao 7 years ago
parent
commit
0fc8541d24
  1. 5
      designer_chart/src/com/fr/plugin/chart/map/designer/type/VanChartMapSourceChoosePane.java

5
designer_chart/src/com/fr/plugin/chart/map/designer/type/VanChartMapSourceChoosePane.java

@ -564,8 +564,9 @@ public class VanChartMapSourceChoosePane extends JPanel implements UIObserver {
mapDataTree.changeRootNode(this.getRootNode()); mapDataTree.changeRootNode(this.getRootNode());
if(samePlotChange) { if(samePlotChange) {
mapPlot.setGeoUrl(GEOJSONHelper.getDefaultJSONURL()); String nodePath = GEOJSONHelper.getDefaultJSONURL();
mapDataTree.selectDefaultTreeNode(); mapPlot.setGeoUrl(nodePath);
mapDataTree.setSelectNodePath(nodePath);
selectTreePath = mapDataTree.getSelectionPath(); selectTreePath = mapDataTree.getSelectionPath();
sourceComboBox.setSelectedItem(selectTreePath); sourceComboBox.setSelectedItem(selectTreePath);
} }

Loading…
Cancel
Save