|
@@ -55,7 +55,7 @@ export class EditScence extends SGraphScene {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
- isSelecting: boolean = false;
|
|
|
+ isSelecting: boolean = true;
|
|
|
|
|
|
|
|
|
isAbsorbing: boolean = false;
|
|
@@ -279,7 +279,8 @@ export class EditScence extends SGraphScene {
|
|
|
font: 0,
|
|
|
color: '',
|
|
|
TextPos: { X: 0, Y: 0 },
|
|
|
- InfoTypeId:this._legend.InfoTypeId.length? this._legend.InfoTypeId :[]
|
|
|
+ InfoTypeId:this._legend.InfoTypeId.length? this._legend.InfoTypeId :[],
|
|
|
+ InfoSystemId:this._legend.InfoSystemId ? this._legend.InfoSystemId :''
|
|
|
},
|
|
|
}
|
|
|
let Polylines = null;
|
|
@@ -335,7 +336,8 @@ export class EditScence extends SGraphScene {
|
|
|
color: '',
|
|
|
FID: item.data.SourceId,
|
|
|
TextPos: { X: item.data.Location.Points[0].X, Y: -item.data.Location.Points[0].Y },
|
|
|
- InfoTypeId:this._legend.InfoTypeId.length? this._legend.InfoTypeId :[]
|
|
|
+ InfoTypeId:this._legend.InfoTypeId.length? this._legend.InfoTypeId :[],
|
|
|
+ InfoSystemId:this._legend.InfoSystemId ? this._legend.InfoSystemId :''
|
|
|
},
|
|
|
}
|
|
|
let Polylines = null;
|
|
@@ -431,7 +433,6 @@ export class EditScence extends SGraphScene {
|
|
|
*/
|
|
|
addIconItem(event: SMouseEvent): void {
|
|
|
|
|
|
- const InfoSystemId = this._legend.InfoSystemId ? this._legend.InfoSystemId : '';
|
|
|
const LegendData: Legend = {
|
|
|
ID: uuid(),
|
|
|
Name: this._legend.Name,
|
|
@@ -453,8 +454,9 @@ export class EditScence extends SGraphScene {
|
|
|
font: 12,
|
|
|
color: '',
|
|
|
GraphCategoryId: this._legend.GraphCategoryId,
|
|
|
- InfoSystemId: InfoSystemId,
|
|
|
- InfoTypeId:this._legend.InfoTypeId.length? this._legend.InfoTypeId :[]
|
|
|
+ InfoSystemId:this._legend.InfoSystemId ? this._legend.InfoSystemId :'' ,
|
|
|
+ InfoTypeId:this._legend.InfoTypeId.length? this._legend.InfoTypeId :[],
|
|
|
+
|
|
|
},
|
|
|
}
|
|
|
const item = new SImageLegendItem(null, LegendData);
|