Fix map refernce for _onDragEnd method.

This commit is contained in:
Charlie Savage 2011-09-23 14:00:35 -06:00
parent 14ba939f5f
commit 7fb61dad90

View File

@ -63,7 +63,7 @@ L.Handler.MapDrag = L.Handler.extend({
}, },
_onDragEnd: function() { _onDragEnd: function() {
map.fire('moveend'); this._map.fire('moveend');
map.fire('dragend'); this._map.fire('dragend');
} }
}); });