Browse Source

修改地图层级下拉框

master
mengao 7 years ago
parent
commit
d7c166e6e7
  1. 11
      designer_base/src/com/fr/env/RemoteEnv.java
  2. 2
      designer_chart/src/com/fr/plugin/chart/map/designer/type/VanChartMapSourceChoosePane.java

11
designer_base/src/com/fr/env/RemoteEnv.java vendored

@ -1013,15 +1013,8 @@ public class RemoteEnv extends AbstractEnv {
}
try {
HashMap<String, String> para = new HashMap<String, String>();
//assets目录下的svg文件
if (filePath.contains(ProjectConstants.ASSETS_NAME) && filePath.endsWith(".svg")) {
para.put("op", "svgrelate");
para.put("cmd", "delete_svg");
} else {
para.put("op", "fr_remote_design");
para.put("cmd", "delete_file");
}
para.put("op", "fr_remote_design");
para.put("cmd", "delete_file");
para.put("file_path", filePath);
HttpClient client = createHttpMethod(para);

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

@ -308,7 +308,7 @@ public class VanChartMapSourceChoosePane extends JPanel implements UIObserver {
}
private void refreshZoomLevel(){
//gis图层不同,对应的suo缩放等级不同。
//gis图层不同,对应的缩放等级不同。
ZoomLevel[] levels;
if (ComparatorUtils.equals(gisLayer.getSelectedItem(), Inter.getLocText("Plugin-ChartF_Layer_Blue"))) {
levels = BLUE_ZOOM_LEVELS;

Loading…
Cancel
Save