Skip to content

Commit 2f55b85

Browse files
committed
this fixes rendering and associated imagMin/imagMax for tiles, but now their bounds are incorrect - e.g., for the tile whose northwest corner is at [0,0], it's saying it's LatLng(1, 0)...!
1 parent 486ee22 commit 2f55b85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mandelbrot-layer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ export default L.GridLayer.extend({
8080
const zoomFactor = Math.pow(2, -coords.z);
8181
const complexBounds = {
8282
realMin: coords.x * zoomFactor,
83-
imagMin: coords.y * zoomFactor,
83+
imagMax: coords.y * zoomFactor,
8484
realMax: (coords.x + 1) * zoomFactor,
85-
imagMax: (coords.y + 1) * zoomFactor,
85+
imagMin: (coords.y + 1) * zoomFactor,
8686
};
8787

8888
function jobToBounds(job) {

0 commit comments

Comments
 (0)