I using Angular Google Maps(AGM) componet. I need to open info window on marker mouse hover. How can I retreive the infowindow
instance in my function onMouseOver
to open it?
<agm-map [fitBounds]="latlngBounds" [zoom]="15"> <agm-marker *ngFor="let m of markers; let i = index" [latitude]="m.geoCode.latitude" [longitude]="m.geoCode.longitude" (mouseOver)="onMouseOver(m)" > <agm-info-window [disableAutoPan]="false"> <div> <a (click)="onClickInfoView({id:m.id})" class="btn btn-attention pull-right">test<i class="fa fa-angle-double-right"></i></a> </div> </agm-info-window> </agm-marker> </agm-map> onMouseOver(data) { ???? /* how to open here the info window? }