mirror of
https://github.com/Leaflet/Leaflet.git
synced 2026-02-01 17:27:23 +00:00
fix map drag regression
This commit is contained in:
parent
10520b7c4a
commit
36eb9d3cbd
3
dist/leaflet-src.js
vendored
3
dist/leaflet-src.js
vendored
@ -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
2
dist/leaflet.js
vendored
File diff suppressed because one or more lines are too long
@ -105,6 +105,7 @@ L.Marker = L.Class.extend({
|
||||
}
|
||||
|
||||
this._icon.style.zIndex = pos.y;
|
||||
// TODO zIndex offset
|
||||
},
|
||||
|
||||
_initInteraction: function () {
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user