Permalink
Browse files

Step 17.8: Use in a template

1 parent d9ed1ca commit f0346edde63e50f846da1e2bdbbf4639a3944cca @dotansimha dotansimha committed with DAB0mB Sep 27, 2016
Showing with 12 additions and 0 deletions.
  1. +12 −0 client/imports/app/parties/party-details.component.html
@@ -28,3 +28,15 @@
<input type="button" value="Maybe" (click)="reply('maybe')">
<input type="button" value="No" (click)="reply('no')">
</div>
+
+<sebm-google-map
+ [latitude]="lat || centerLat"
+ [longitude]="lng || centerLng"
+ [zoom]="8"
+ (mapClick)="mapClicked($event)">
+ <sebm-google-map-marker
+ *ngIf="lat && lng"
+ [latitude]="lat"
+ [longitude]="lng">
+ </sebm-google-map-marker>
+</sebm-google-map>

0 comments on commit f0346ed

Please sign in to comment.