|
@@ -93,7 +93,11 @@ export class STopologyParser extends SParser {
|
|
|
item.selectable = true;
|
|
|
this.zoneLegendList.push(item);
|
|
|
}
|
|
|
- } else if (t.GraphElementType == 'Image') {
|
|
|
+ } else if (t.GraphElementType == 'x') {
|
|
|
+ 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
|
|
|
+ }
|
|
|
let item = new SImageLegendItem(null, t);
|
|
|
item.selectable = true;
|
|
|
this.imageLegendList.push(item);
|
|
@@ -107,6 +111,10 @@ export class STopologyParser extends SParser {
|
|
|
* */
|
|
|
private addMarker(t: Marker): void {
|
|
|
if (t.Type == "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
|
|
|
+ }
|
|
|
let item = new SImageMarkerItem(null, t);
|
|
|
this.imageMarkerList.push(item);
|
|
|
item.selectable = true;
|