Category : polyline

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

I am working on Angular using Leaflet map . My project is getting data json coordinates for flight path . The problem is i have duplicate polyline path on map while updating data . Code : export class MapTrackBeforPage implements OnInit { map: Map; poly:any protected points: { lat: number, lng: number }[] = []; ..

Read more