Fixed gps center button

This commit is contained in:
Zakary Timson 2019-07-09 18:46:55 -04:00
parent d61cdce4f9
commit 161de22a15

View File

@ -48,4 +48,4 @@
<span *ngIf="position.speed">{{position.speed * 60 * 60 / 1000 | number : '1.0-1'}} km/h</span> <span *ngIf="position.speed">{{position.speed * 60 * 60 / 1000 | number : '1.0-1'}} km/h</span>
</div> </div>
</div> </div>
<button *ngIf="!position" mat-fab class="gps" (click)="center()"><mat-icon>gps_fixed</mat-icon></button> <button *ngIf="position" mat-fab class="gps" (click)="center()"><mat-icon>gps_fixed</mat-icon></button>