Browse Source

REPORT-96204 FRBI海外版本地图组件的GIS图层优化

feature/x
obo 1 year ago
parent
commit
8f0b0db67b
  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

@ -315,8 +315,6 @@ public class GisLayerPane extends JPanel implements UIObserver {
public void update(GisLayer layer) {
if (isAuto()) {
//如果是海外环境,切换为mapbox的内容
//浅色主题为mapbox,深色主题为黑色
layer.setGisLayerType(GISLayerType.AUTO);
layer.setLayerName(GISLayerType.getLocString(GISLayerType.AUTO));
} else if (isStandardGis()) {
@ -327,8 +325,6 @@ public class GisLayerPane extends JPanel implements UIObserver {
}
private void updateStandardGis(GisLayer layer) {
//海外情况下
//标准:黑色、mapbox、清新、素雅、午夜、无,默认选中mapbox
String layerName = Utils.objectToString(standardLayers.getSelectedItem());
layer.setLayerName(layerName);
if (standardLayers.getSelectedIndex() == standardLayers.getItemCount() - 1) {

Loading…
Cancel
Save