diff --git a/loleaflet/src/layer/tile/GridLayer.js b/loleaflet/src/layer/tile/GridLayer.js index 5a58ec1bc..d3897bc47 100644 --- a/loleaflet/src/layer/tile/GridLayer.js +++ b/loleaflet/src/layer/tile/GridLayer.js @@ -635,7 +635,7 @@ L.GridLayer = L.Layer.extend({ var key = this._tileCoordsToKey(coords); tile = this._tiles[key]; - if (!tile || tile.loaded !== undefined ) { return; } + if (!tile || tile.loaded !== undefined) { return; } tile.loaded = +new Date(); if (this._map._fadeAnimated) { diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js index 7044f94bf..735667842 100644 --- a/loleaflet/src/map/Map.js +++ b/loleaflet/src/map/Map.js @@ -338,7 +338,7 @@ L.Map = L.Evented.extend({ return this._size.clone(); }, - getPixelBounds: function (center, zoom) { + getPixelBounds: function (center) { var topLeftPoint = new L.Point( this._outerContainer.scrollLeft, this._outerContainer.scrollTop);