fix: set tile size in raster endpoints to 512
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
44fa73e304
commit
3549323140
1 changed files with 2 additions and 0 deletions
|
|
@ -821,6 +821,7 @@ export const serve_rendered = {
|
|||
}
|
||||
|
||||
app.get('/:id.json', (req, res, next) => {
|
||||
const tileSize = 512;
|
||||
const item = repo[req.params.id];
|
||||
if (!item) {
|
||||
return res.sendStatus(404);
|
||||
|
|
@ -830,6 +831,7 @@ export const serve_rendered = {
|
|||
req,
|
||||
info.tiles,
|
||||
`styles/${req.params.id}`,
|
||||
tileSize,
|
||||
info.format,
|
||||
item.publicUrl,
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue