update leaflet library from 0.6.3 to 0.6.4
This commit is contained in:
parent
d14832d5c7
commit
c420c1e0dc
8
external/leaflet-src.js
vendored
8
external/leaflet-src.js
vendored
@ -7,7 +7,7 @@
|
|||||||
var oldL = window.L,
|
var oldL = window.L,
|
||||||
L = {};
|
L = {};
|
||||||
|
|
||||||
L.version = '0.6.3';
|
L.version = '0.6.4';
|
||||||
|
|
||||||
// define Leaflet for Node module pattern loaders, including Browserify
|
// define Leaflet for Node module pattern loaders, including Browserify
|
||||||
if (typeof module === 'object' && typeof module.exports === 'object') {
|
if (typeof module === 'object' && typeof module.exports === 'object') {
|
||||||
@ -1844,8 +1844,8 @@ L.Map = L.Class.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
getMinZoom: function () {
|
getMinZoom: function () {
|
||||||
var z1 = this._layersMinZoom === undefined ? -Infinity : this._layersMinZoom,
|
var z1 = this._layersMinZoom === undefined ? 0 : this._layersMinZoom,
|
||||||
z2 = this._boundsMinZoom === undefined ? -Infinity : this._boundsMinZoom;
|
z2 = this._boundsMinZoom === undefined ? 0 : this._boundsMinZoom;
|
||||||
return this.options.minZoom === undefined ? Math.max(z1, z2) : this.options.minZoom;
|
return this.options.minZoom === undefined ? Math.max(z1, z2) : this.options.minZoom;
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -7499,7 +7499,7 @@ L.Map.Keyboard = L.Handler.extend({
|
|||||||
var body = document.body,
|
var body = document.body,
|
||||||
docEl = document.documentElement,
|
docEl = document.documentElement,
|
||||||
top = body.scrollTop || docEl.scrollTop,
|
top = body.scrollTop || docEl.scrollTop,
|
||||||
left = body.scrollTop || docEl.scrollLeft;
|
left = body.scrollLeft || docEl.scrollLeft;
|
||||||
|
|
||||||
this._map._container.focus();
|
this._map._container.focus();
|
||||||
|
|
||||||
|
4
external/leaflet.js
vendored
4
external/leaflet.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user