fix: zoom 0 workaround
Signed-off-by: Andrew Calcutt <acalcutt@techidiots.net>
This commit is contained in:
parent
6e5573d107
commit
2c75d192b3
1 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,7 @@ const respondImage = (
|
||||||
|
|
||||||
const tileMargin = Math.max(options.tileMargin || 0, 0);
|
const tileMargin = Math.max(options.tileMargin || 0, 0);
|
||||||
let pool;
|
let pool;
|
||||||
if (mode === 'tile' && tileMargin === 0) {
|
if (mode === 'tile' && tileMargin === 0 && z !== 0) {
|
||||||
pool = item.map.renderers[scale];
|
pool = item.map.renderers[scale];
|
||||||
} else {
|
} else {
|
||||||
pool = item.map.renderersStatic[scale];
|
pool = item.map.renderersStatic[scale];
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue