我正在使用https://angular-maps.com/docs/api/latest/ts/core/index/SebmGoogleMapPolygon-directive.html,用于谷歌地图,
<sebm-map-polygon *ngFor="let polygon of polygonPathDatas"
[paths]="polygon.path"
[clickable] = "true"
strokeColor ="#00000"
[strokeWeight]=".6"
[editable]="false"
[draggable]="false"
(polyClick)="click($event)"
(polyDblClick)="delete($event)">
</sebm-map-polygon>
如何从单击中获取多边形对象
click($event: any) {
console.log(event);
}