Browse Source

REPORT-104017 海外版本地图组件的GIS图层优化-fvs下切换gis图层配置时自动会由mapbox变为黑色

new-design
obo 1 year ago
parent
commit
5675d210ed
  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

@ -65,7 +65,7 @@ public class GisLayerPane extends JPanel implements UIObserver {
/**
* fvs的具体类型
*/
private static final String FVS_TEMPLATE_CLASS = "class com.fr.plugin.wysiwyg.report.JDuchamp";
private static final String FVS_TEMPLATE_CLASS = "com.fr.plugin.wysiwyg.report.JDuchamp";
public GisLayerPane() {
initComps();
@ -368,7 +368,7 @@ public class GisLayerPane extends JPanel implements UIObserver {
}
JTemplate<?, ?> currentEditingTemplate = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate();
if (JTemplate.isValid(currentEditingTemplate)) {
if (FVS_TEMPLATE_CLASS.equals(currentEditingTemplate.getClass().toString())) {
if (FVS_TEMPLATE_CLASS.equals(currentEditingTemplate.getClass().getName())) {
return;
}
boolean dark = currentEditingTemplate.getTemplateTheme().isDark();

Loading…
Cancel
Save