Skip to content

Instantly share code, notes, and snippets.

@LarsBergqvist
Created February 2, 2020 10:28
Embed
What would you like to do?
Using PrimeNG's GMap for displaying a Google Maps view
<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