Missing Event Passthrough
KevinTurnbull opened this issue · 0 comments
KevinTurnbull commented
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
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.