update build again
This commit is contained in:
parent
547e9936f2
commit
28d047da74
6
dist/leaflet-src.js
vendored
6
dist/leaflet-src.js
vendored
@ -7156,11 +7156,13 @@ L.Handler.MarkerDrag = L.Handler.extend({
|
|||||||
addHooks: function () {
|
addHooks: function () {
|
||||||
var icon = this._marker._icon;
|
var icon = this._marker._icon;
|
||||||
if (!this._draggable) {
|
if (!this._draggable) {
|
||||||
this._draggable = new L.Draggable(icon, icon)
|
this._draggable = new L.Draggable(icon, icon);
|
||||||
|
}
|
||||||
|
|
||||||
|
this._draggable
|
||||||
.on('dragstart', this._onDragStart, this)
|
.on('dragstart', this._onDragStart, this)
|
||||||
.on('drag', this._onDrag, this)
|
.on('drag', this._onDrag, this)
|
||||||
.on('dragend', this._onDragEnd, this);
|
.on('dragend', this._onDragEnd, this);
|
||||||
}
|
|
||||||
this._draggable.enable();
|
this._draggable.enable();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
2
dist/leaflet.js
vendored
2
dist/leaflet.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user