Skip to content


Step 12.14: Added location message template
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and darkbasic committed Oct 16, 2017
1 parent 15f02f3 commit 142b54d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/pages/messages/location-message.html
@@ -0,0 +1,22 @@
<ion-toolbar color="whatsapp">
<ion-title>Send Location</ion-title>

<ion-buttons end>
<button ion-button class="dismiss-button" (click)="viewCtrl.dismiss()"><ion-icon name="close"></ion-icon></button>

<ion-content class="location-message-content">
<agm-map [latitude]="lat" [longitude]="lng" [zoom]="zoom">
<agm-marker [latitude]="lat" [longitude]="lng"></agm-marker>
<ion-item (click)="sendLocation()">
<ion-icon name="compass" item-left></ion-icon>
<h2>Send your current location</h2>
<p *ngIf="accuracy !== -1">Accurate to {{accuracy}} meters</p>

0 comments on commit 142b54d

Please sign in to comment.