Author : gurrms95

highlightAlertArea(alertarea_id: string, highlightColor: number, highlight: boolean = false): void { const search = (level: IndoorModelLevel) => { const found = level.alertAreas.find(alertarea => alertarea.id === alertarea_id); const color = ( highlight ? highlightColor : 0xff0000); if ( found ) { found.object.setFloorColor(color); // found.object.setVisibleIn3D(flag); return true; } return false; }; this.model.levels.some(search); } I am currently using visual ..

Read more

<tr *ngFor="let equipment of (activityCard | async)?.equipments; index as i;"> <td [attr.rowspan]="equipment.large_num" *ngIf="equipment.large_num !== ”">{{ equipment.large_name }}</td> <td [attr.rowspan]="equipment.medium_num" [attr.colspan]="equipment.name === ” ? 2 : 1" *ngIf="equipment.medium_num !== ”">{{ equipment.medium_name }}</td> <td>{{ equipment.name }}</td> <td *ngFor="let poi of equipment?.levels">{{ poi?.poi_num || 0 }}</td> </tr> I want to add poi_num data in HTML. Is there a ..

Read more

node_modules/@angular/cdk/coercion/array.d.ts(10,60): error TS1005: ‘,’ expected. node_modules/@angular/cdk/coercion/array.d.ts(10,61): error TS1005: ‘,’ expected. node_modules/@angular/cdk/coercion/array.d.ts(10,75): error TS1144: ‘{‘ or ‘;’ expected. node_modules/@angular/cdk/coercion/array.d.ts(10,77): error TS1011: An element access expression should take an argument. Source: Angular..

Read more