ngx-leaflet-draw
ngx-leaflet-draw copied to clipboard
Missing Event Passthrough
https://github.com/Asymmetrik/ngx-leaflet-draw/blob/1674dfd34f59f60f183dae7a1d978f0cda435801/src/leaflet-draw/core/leaflet-draw.directive.ts#L34
Unlike the other Outputs which have been hooked up - the DrawVertex event doesn't get attached to the event when it happens on the map. which would be expected among the list below
https://github.com/Asymmetrik/ngx-leaflet-draw/blob/1674dfd34f59f60f183dae7a1d978f0cda435801/src/leaflet-draw/core/leaflet-draw.directive.ts#L72
Some may be able to use a workaround of binding to the event directly.
map.on(L.Draw.Event.DRAWVERTEX, this.onDrawVertex.bind(this));
However; when I do that in my project - it introduces a bug when creating polygons - they start to complain of overlapping lines. I haven't been able to track that down.