Skip to content

Commit

Permalink
Pass polygon with EDITVERTEX event
Browse files Browse the repository at this point in the history
  • Loading branch information
waieez authored and Jon West committed Nov 30, 2016
1 parent 624dd73 commit 7bb3e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edit/handler/Edit.Poly.js
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ L.Edit.PolyVerticesEdit = L.Handler.extend({
_fireEdit: function () {
this._poly.edited = true;
this._poly.fire('edit');
this._poly._map.fire(L.Draw.Event.EDITVERTEX, { layers: this._markerGroup });
this._poly._map.fire(L.Draw.Event.EDITVERTEX, { layers: this._markerGroup, poly: this._poly });
},

_onMarkerDrag: function (e) {
Expand Down

0 comments on commit 7bb3e6f

Please sign in to comment.