Category : polygon

How can i give a polyClick or polyDblClick event to the agm-polygon? I tried it this way but it doesn’t trigger events? <agm-polygon [fillColor]="#color" [strokeColor]="#color" [fillOpacity]="’0.5’" (polyClick)="click($event)" (polyDblClick)="delete($event)" [strokeWeight]="1"></agm-polygon> Thank you for help Source: Angular..

Read more

so basically I had drawn a polygon based on the coordinates; however, I can not set the color for each polygon, if I change the array that contains my paths, AGM-Polygon does not recognize it and throws an error, therefore it can not be render. Refer to my "stackblitz" to check my code https://stackblitz.com/edit/angular-google-maps-demo-yrukzy?embed=1&file=app/app.component.ts Is ..

Read more

so basically I had drawn a polygon based on the coordinates; however, I can not set the color for each polygon, if I change the array that contains my paths, AGM-Polygon does not recognize it and throws an error, therefore it can not be render. Refer to my "stackblitz" to check my code https://stackblitz.com/edit/angular-google-maps-demo-yrukzy?embed=1&file=app/app.component.ts Is ..

Read more