fix: use static renderer at zoom 0
renderer is not able to change the size of tile to more than 512px in tile mode Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
75bd955d73
commit
119cf66f66
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ const respondImage = (
|
|||
|
||||
const tileMargin = Math.max(options.tileMargin || 0, 0);
|
||||
let pool;
|
||||
if (mode === 'tile' && tileMargin === 0) {
|
||||
if (mode === 'tile' && tileMargin === 0 && z !==0) {
|
||||
pool = item.map.renderers[scale];
|
||||
} else {
|
||||
pool = item.map.renderersStatic[scale];
|
||||
|
|
|
|||
Loading…
Reference in a new issue