Browse Source

[完善]标绘完善

非煤矿业企业安全风险监测预警系统
邵佳豪 2 years ago
parent
commit
b27c8a657d
  1. 33
      src/app/system-management/image-label2/image-label2.component.ts

33
src/app/system-management/image-label2/image-label2.component.ts

@ -378,6 +378,18 @@ export class ImageLabel2Component implements OnInit {
this.arrowPointsOfNorth, this.arrowPointsOfNorth,
]; ];
this.drawLine(arr, context); this.drawLine(arr, context);
this.redrawPolygon(
this.pointsOfmonitor,
this.allpointsOfmonitor,
this.circlesOfmonitor,
context,
'black'
);
} }
if ( if (
this.isDrawArrow && this.isDrawArrow &&
@ -404,6 +416,16 @@ export class ImageLabel2Component implements OnInit {
this.arrowPointsOfNorth, this.arrowPointsOfNorth,
]; ];
this.drawLine(arr, context); this.drawLine(arr, context);
this.redrawPolygon(
this.pointsOfmonitor,
this.allpointsOfmonitor,
this.circlesOfmonitor,
context,
'black'
);
} }
if ( if (
this.isDrawArrow && this.isDrawArrow &&
@ -430,6 +452,17 @@ export class ImageLabel2Component implements OnInit {
this.arrowPointsOfNorth, this.arrowPointsOfNorth,
]; ];
this.drawLine(arr, context); this.drawLine(arr, context);
this.redrawPolygon(
this.pointsOfmonitor,
this.allpointsOfmonitor,
this.circlesOfmonitor,
context,
'black'
);
} }
if ( if (
this.isDrawArrow && this.isDrawArrow &&

Loading…
Cancel
Save