more static respondImage
This commit is contained in:
parent
80d3699383
commit
c1e9dc76ea
1 changed files with 3 additions and 3 deletions
|
@ -247,7 +247,7 @@ module.exports = {
|
|||
}
|
||||
|
||||
let pool;
|
||||
if (opt_mode == 'tile') {
|
||||
if (opt_mode === 'tile') {
|
||||
pool = item.map.renderers[scale];
|
||||
} else {
|
||||
pool = item.map.renderers_static[scale];
|
||||
|
@ -469,7 +469,7 @@ module.exports = {
|
|||
|
||||
const path = extractPathFromQuery(req.query, transformer);
|
||||
const overlay = renderOverlay(z, x, y, bearing, pitch, w, h, scale, path, req.query);
|
||||
return respondImage(item, z, x, y, bearing, pitch, w, h, scale, format, res, next, overlay);
|
||||
return respondImage(item, z, x, y, bearing, pitch, w, h, scale, format, res, next, overlay, "static");
|
||||
};
|
||||
|
||||
const boundsPattern =
|
||||
|
@ -542,7 +542,7 @@ module.exports = {
|
|||
|
||||
const overlay = renderOverlay(z, x, y, bearing, pitch, w, h, scale, path, req.query);
|
||||
|
||||
return respondImage(item, z, x, y, bearing, pitch, w, h, scale, format, res, next, overlay);
|
||||
return respondImage(item, z, x, y, bearing, pitch, w, h, scale, format, res, next, overlay, "static");
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue