fixed gps info

This commit is contained in:
ztimson 2019-07-09 12:40:23 -04:00
parent bcb48bc2c5
commit 33e7b6781e

View File

@ -31,7 +31,7 @@
<div *ngIf="position" class="text-white"> <div *ngIf="position" class="text-white">
Heading: Heading:
<span *ngIf="!position.heading" class="text-danger">No Heading</span> <span *ngIf="!position.heading" class="text-danger">No Heading</span>
<span *ngIf="position.altitude">{{position.heading | number : '0.0'}}°</span> <span *ngIf="position.heading">{{position.heading | number : '0.0'}}°</span>
<br> <br>
Latitude: {{position.latitude | number : '0.0-5'}} Latitude: {{position.latitude | number : '0.0-5'}}
<br> <br>
@ -39,7 +39,7 @@
<br> <br>
Altitude: Altitude:
<span *ngIf="!position.altitude" class="text-danger">No Altitude</span> <span *ngIf="!position.altitude" class="text-danger">No Altitude</span>
<span *ngIf="position.altitude">{{position.altitude}}</span> <span *ngIf="position.altitude">{{position.altitude}} m</span>
<br> <br>
Speed: Speed:
<span *ngIf="!position.speed" class="text-danger">No Speed</span> <span *ngIf="!position.speed" class="text-danger">No Speed</span>