From 25bafc6bf18c0dedc3d303eefa0a1ea53564925a Mon Sep 17 00:00:00 2001 From: vcoppe Date: Mon, 17 Nov 2025 22:53:48 +0100 Subject: [PATCH] improve bounds filtering --- website/src/lib/logic/bounds.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/website/src/lib/logic/bounds.ts b/website/src/lib/logic/bounds.ts index 1e641c4b6..4c19b3d33 100644 --- a/website/src/lib/logic/bounds.ts +++ b/website/src/lib/logic/bounds.ts @@ -66,10 +66,8 @@ export class BoundsManager { finalizeFitBounds() { if ( - this._bounds.getSouth() === 90 && - this._bounds.getWest() === 180 && - this._bounds.getNorth() === -90 && - this._bounds.getEast() === -180 + this._bounds.getSouth() >= this._bounds.getNorth() && + this._bounds.getWest() >= this._bounds.getEast() ) { return; }