fix map drag regression

This commit is contained in:
mourner 2011-12-14 15:09:59 +02:00
parent 10520b7c4a
commit 36eb9d3cbd
4 changed files with 5 additions and 3 deletions

3
dist/leaflet-src.js vendored
View File

@ -1422,7 +1422,7 @@ L.Map = L.Class.extend({
_initInteraction: function () {
var handlers = {
dragging: L.Map.MapDrag,
dragging: L.Map.Drag,
touchZoom: L.Map.TouchZoom,
doubleClickZoom: L.Map.DoubleClickZoom,
scrollWheelZoom: L.Map.ScrollWheelZoom,
@ -2174,6 +2174,7 @@ L.Marker = L.Class.extend({
}
this._icon.style.zIndex = pos.y;
// TODO zIndex offset
},
_initInteraction: function () {

2
dist/leaflet.js vendored

File diff suppressed because one or more lines are too long

View File

@ -105,6 +105,7 @@ L.Marker = L.Class.extend({
}
this._icon.style.zIndex = pos.y;
// TODO zIndex offset
},
_initInteraction: function () {

View File

@ -550,7 +550,7 @@ L.Map = L.Class.extend({
_initInteraction: function () {
var handlers = {
dragging: L.Map.MapDrag,
dragging: L.Map.Drag,
touchZoom: L.Map.TouchZoom,
doubleClickZoom: L.Map.DoubleClickZoom,
scrollWheelZoom: L.Map.ScrollWheelZoom,