We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c2dfd4 commit 267f7fcCopy full SHA for 267f7fc
src/channel.js
@@ -610,7 +610,7 @@ class _Channel {
610
* Compute the resolution at each pyramid level, since the zoom
611
* factor may not be the same between adjacent pyramid levels.
612
*/
613
- const zoomFactor = baseTotalPixelMatrixColumns / totalPixelMatrixColumns
+ const zoomFactor = Math.floor(baseTotalPixelMatrixColumns / totalPixelMatrixColumns)
614
imageResolutions.push(zoomFactor)
615
/*
616
* TODO: One may have to adjust the offset slightly due to the
0 commit comments