Fix map refernce for _onDragEnd method.
This commit is contained in:
parent
14ba939f5f
commit
7fb61dad90
@ -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