Skip to content

Instantly share code, notes, and snippets.

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
You can’t perform that action at this time.