Fixed gps center button
This commit is contained in:
parent
d61cdce4f9
commit
161de22a15
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user