Browse Source

fix 地图不显示图标的问题

yunxing 4 years ago
parent
commit
2eeb836084
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/parsers/STopologyParser.ts

+ 1 - 1
src/lib/parsers/STopologyParser.ts

@@ -93,7 +93,7 @@ export class STopologyParser extends SParser {
                 item.selectable = true;
                 this.zoneLegendList.push(item);
             }
-        } else if (t.GraphElementType == 'x') {
+        } else if (t.GraphElementType == 'Image') {
             if(t.Properties){
                 t.Properties.Url ? t.Properties.Url ='/glsms' + t.Properties.Url :t.Properties;
                 t.Properties.IconUrl ? t.Properties.IconUrl ='/glsms' + t.Properties.IconUrl :t.Properties