点击标记后,我会看到agm-info-window。当我单击信息窗口内的路线链接时,我想导航外部Google Maps网站并显示路线。如何使用agm
<div>
<agm-map [latitude]="lat" [longitude]="lng">
<agm-marker [latitude]="lat" [longitude]="lng">
<agm-info-window>
<h3>Hi</h3>
<a href="" (click)="getDirection()">Directions</a>
</agm-info-window>
</agm-marker>
</agm-map>
</div>