fix: semicolon
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
3752416600
commit
1c6e98d2c6
1 changed files with 1 additions and 1 deletions
|
|
@ -461,7 +461,7 @@ const respondImage = (
|
||||||
});
|
});
|
||||||
|
|
||||||
if (z > 0 && tileMargin > 0) {
|
if (z > 0 && tileMargin > 0) {
|
||||||
const y = mercator.px(params.center, z)[1]
|
const y = mercator.px(params.center, z)[1];
|
||||||
const yoffset = Math.max(Math.min(0, y - 128 - tileMargin), y + 128 + tileMargin - Math.pow(2, z + 8));
|
const yoffset = Math.max(Math.min(0, y - 128 - tileMargin), y + 128 + tileMargin - Math.pow(2, z + 8));
|
||||||
image.extract({
|
image.extract({
|
||||||
left: tileMargin * scale,
|
left: tileMargin * scale,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue