import { GoogleMapsAPIWrapper } from \'@agm/core\';
import { Component, Input } from \'@angular/core\';
@Component({
selector: \'core-map\',
styleUrls: [ \'./map.co
google.maps.Map is accessible on MapReady event
In code "event" contains an instance of google.maps.Map:
onMapReady(event: any)
{
this.diagramOverlay = new ShotDiagramOverlay();
this.diagramOverlay.setMap(event);
this.drawDiagramOnGeoMapSubscription = this.diagramOverlay.readyToDrawAction$.subscribe(() => this.drawDiagramOnGeoMap())
}