Revert "fix: zoom 0 workaround"

This reverts commit 0f3bbd765c9c151016cec66768675f990676c8b3.
This commit is contained in:
Andrew Calcutt 2024-01-22 02:23:57 -05:00
parent 2c75d192b3
commit cc9abfde89

View file

@ -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 && z !== 0) { if (mode === 'tile' && tileMargin === 0) {
pool = item.map.renderers[scale]; pool = item.map.renderers[scale];
} else { } else {
pool = item.map.renderersStatic[scale]; pool = item.map.renderersStatic[scale];