Merge pull request #487 from bheupers/patch-1
Render up to scale level 22
This commit is contained in:
commit
644db6cd8a
1 changed files with 1 additions and 1 deletions
|
@ -375,7 +375,7 @@ module.exports = {
|
|||
scale = getScale(req.params.scale),
|
||||
format = req.params.format;
|
||||
if (z < 0 || x < 0 || y < 0 ||
|
||||
z > 20 || x >= Math.pow(2, z) || y >= Math.pow(2, z)) {
|
||||
z > 22 || x >= Math.pow(2, z) || y >= Math.pow(2, z)) {
|
||||
return res.status(404).send('Out of bounds');
|
||||
}
|
||||
const tileSize = 256;
|
||||
|
|
Loading…
Reference in a new issue