update build
This commit is contained in:
parent
c6caf93c00
commit
079b0dee5f
23
dist/leaflet-src.js
vendored
23
dist/leaflet-src.js
vendored
@ -1,11 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (c) 2010-2012, CloudMade, Vladimir Agafonkin
|
Leaflet, a JavaScript library for mobile-friendly interactive maps. http://leafletjs.com
|
||||||
Leaflet is an open-source JavaScript library for mobile-friendly interactive maps.
|
(c) 2010-2012, CloudMade, Vladimir Agafonkin
|
||||||
http://leafletjs.com
|
|
||||||
*/
|
*/
|
||||||
(function (window, undefined) {
|
(function (window, document, undefined) {var L, originalL;
|
||||||
|
|
||||||
var L, originalL;
|
|
||||||
|
|
||||||
if (typeof exports !== undefined + '') {
|
if (typeof exports !== undefined + '') {
|
||||||
L = exports;
|
L = exports;
|
||||||
@ -2699,7 +2696,7 @@ L.TileLayer.Canvas = L.TileLayer.extend({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
drawTile: function (tile, tilePoint) {
|
drawTile: function (/*tile, tilePoint*/) {
|
||||||
// override with rendering code
|
// override with rendering code
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -6445,7 +6442,7 @@ L.Map.TouchZoom = L.Handler.extend({
|
|||||||
L.DomUtil.getScaleString(this._scale, this._startCenter);
|
L.DomUtil.getScaleString(this._scale, this._startCenter);
|
||||||
},
|
},
|
||||||
|
|
||||||
_onTouchEnd: function (e) {
|
_onTouchEnd: function () {
|
||||||
if (!this._moved || !this._zooming) { return; }
|
if (!this._moved || !this._zooming) { return; }
|
||||||
|
|
||||||
var map = this._map;
|
var map = this._map;
|
||||||
@ -6738,14 +6735,14 @@ L.Handler.MarkerDrag = L.Handler.extend({
|
|||||||
return this._draggable && this._draggable._moved;
|
return this._draggable && this._draggable._moved;
|
||||||
},
|
},
|
||||||
|
|
||||||
_onDragStart: function (e) {
|
_onDragStart: function () {
|
||||||
this._marker
|
this._marker
|
||||||
.closePopup()
|
.closePopup()
|
||||||
.fire('movestart')
|
.fire('movestart')
|
||||||
.fire('dragstart');
|
.fire('dragstart');
|
||||||
},
|
},
|
||||||
|
|
||||||
_onDrag: function (e) {
|
_onDrag: function () {
|
||||||
var marker = this._marker,
|
var marker = this._marker,
|
||||||
shadow = marker._shadow,
|
shadow = marker._shadow,
|
||||||
iconPos = L.DomUtil.getPosition(marker._icon),
|
iconPos = L.DomUtil.getPosition(marker._icon),
|
||||||
@ -7939,7 +7936,7 @@ L.Map.include(!L.DomUtil.TRANSITION ? {} : {
|
|||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
||||||
_catchTransitionEnd: function (e) {
|
_catchTransitionEnd: function () {
|
||||||
if (this._animatingZoom) {
|
if (this._animatingZoom) {
|
||||||
this._onZoomTransitionEnd();
|
this._onZoomTransitionEnd();
|
||||||
}
|
}
|
||||||
@ -8152,6 +8149,4 @@ L.Map.include({
|
|||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
}(this, document));
|
||||||
|
|
||||||
}(this));
|
|
13
dist/leaflet.js
vendored
13
dist/leaflet.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user