fixing this._times.length undefined in Map.Drag.js
Update Map.Drag.js Update Map.Drag.js
This commit is contained in:
parent
8aa32484b4
commit
5f7c2e07d6
@ -38,6 +38,8 @@ L.Map.Drag = L.Handler.extend({
|
||||
}
|
||||
L.DomUtil.addClass(this._map._container, 'leaflet-grab');
|
||||
this._draggable.enable();
|
||||
this._positions = [];
|
||||
this._times = [];
|
||||
},
|
||||
|
||||
removeHooks: function () {
|
||||
|
Loading…
Reference in New Issue
Block a user