Fixed some js lint errors
This commit is contained in:
parent
2aa7f55ea8
commit
144c9ab1df
2 changed files with 2 additions and 2 deletions
|
@ -635,7 +635,7 @@ L.GridLayer = L.Layer.extend({
|
||||||
var key = this._tileCoordsToKey(coords);
|
var key = this._tileCoordsToKey(coords);
|
||||||
|
|
||||||
tile = this._tiles[key];
|
tile = this._tiles[key];
|
||||||
if (!tile || tile.loaded !== undefined ) { return; }
|
if (!tile || tile.loaded !== undefined) { return; }
|
||||||
|
|
||||||
tile.loaded = +new Date();
|
tile.loaded = +new Date();
|
||||||
if (this._map._fadeAnimated) {
|
if (this._map._fadeAnimated) {
|
||||||
|
|
|
@ -338,7 +338,7 @@ L.Map = L.Evented.extend({
|
||||||
return this._size.clone();
|
return this._size.clone();
|
||||||
},
|
},
|
||||||
|
|
||||||
getPixelBounds: function (center, zoom) {
|
getPixelBounds: function (center) {
|
||||||
var topLeftPoint = new L.Point(
|
var topLeftPoint = new L.Point(
|
||||||
this._outerContainer.scrollLeft,
|
this._outerContainer.scrollLeft,
|
||||||
this._outerContainer.scrollTop);
|
this._outerContainer.scrollTop);
|
||||||
|
|
Loading…
Reference in a new issue