Created
February 2, 2020 10:28
-
-
Save LarsBergqvist/d9754a471bdc7e17b58fda1ac5f3f51f to your computer and use it in GitHub Desktop.
Using PrimeNG's GMap for displaying a Google Maps view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div *ngIf="useMap"> | |
<p-gmap *ngIf="options.center" [options]="options" [overlays]="overlays" [style]="{'width':'100%','height':'320px'}" | |
(onMapReady)="onMapReady($event)" (onMapClick)="handleMapClick($event)"></p-gmap> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment