Merge pull request #308 from cfis/dragend
Fix map reference for _onDragEnd method.
This commit is contained in:
commit
076defae69
@ -63,7 +63,7 @@ L.Handler.MapDrag = L.Handler.extend({
|
||||
},
|
||||
|
||||
_onDragEnd: function() {
|
||||
map.fire('moveend');
|
||||
map.fire('dragend');
|
||||
this._map.fire('moveend');
|
||||
this._map.fire('dragend');
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user