I tried to include Google map with Multiple locations.
For One location Iframe is working fine. I don't know how to Implement Multiple locations in Iframe. So I tried With AGM. The Same APIKey Im used for AGM Also.But getting Error that Google Maps JavaScript API error: ApiTargetBlockedMapError.
Here Is my Code For IFrame
<iframe src="https://www.google.com/maps/embed/v1/place?q=11.0443324,77.04292389999999&key=MY_APIKEY" width="98%" height="100%" frameborder="0"></iframe>
For AGM Add the key in NgModule
AgmCoreModule.forRoot({AgmCoreModule.forRoot({
apiKey: 'MY_APIKEY',
})
<agm-marker *ngFor="let loc of mSupplierLocationList" [label]="loc.label" [latitude]="loc.latitude" [longitude]="loc.longitude" >
</agm-marker>
</agm-map>