fix: default undefined like other data endpoints

Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
Andrew Calcutt 2024-01-22 09:45:03 -05:00
parent fb010ee14d
commit 73a0465afe

View file

@ -497,7 +497,7 @@ function start(opts) {
data.thumbnail = `${center[2]}/${Math.floor(centerPx[0] / 256)}/${Math.floor(centerPx[1] / 256)}.${tileJSON.format}`;
}
const tileSize = 256;
const tileSize = undefined;
data.xyz_link = getTileUrls(
req,
tileJSON.tiles,