mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-12-02 10:02:12 +00:00
improve bounds filtering
This commit is contained in:
@@ -66,10 +66,8 @@ export class BoundsManager {
|
|||||||
|
|
||||||
finalizeFitBounds() {
|
finalizeFitBounds() {
|
||||||
if (
|
if (
|
||||||
this._bounds.getSouth() === 90 &&
|
this._bounds.getSouth() >= this._bounds.getNorth() &&
|
||||||
this._bounds.getWest() === 180 &&
|
this._bounds.getWest() >= this._bounds.getEast()
|
||||||
this._bounds.getNorth() === -90 &&
|
|
||||||
this._bounds.getEast() === -180
|
|
||||||
) {
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user