improve bounds filtering

This commit is contained in:
vcoppe
2025-11-17 22:53:48 +01:00
parent 6387580626
commit 25bafc6bf1

View File

@@ -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;
}