diff --git a/index.js b/index.js index b0393c1..f45a7ab 100644 --- a/index.js +++ b/index.js @@ -13,7 +13,7 @@ module.exports.bounds = bounds; function fetchMerc(tileSize, allowAntiMeridian) { tileSize = tileSize || 256; - antiMeridian = allowAntiMeridian || false; + var antiMeridian = allowAntiMeridian || false; var cacheKey = tileSize + String(antiMeridian); if (!smCache[cacheKey]) {