Skip to content

Commit

Permalink
fix: wrong latitude default
Browse files Browse the repository at this point in the history
  • Loading branch information
alrico88 committed Feb 11, 2022
1 parent c1e12d8 commit 7fd633f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/modules/datasets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ export function getDatasetBBox(

return [minLon, minLat, maxLon, maxLat];
}
const defaultCoord = 180;
const defaultLon = 180;
const defaultLat = 90;

return [-defaultCoord, -defaultCoord, defaultCoord, defaultCoord];
return [-defaultLon, -defaultLat, defaultLon, defaultLat];
}

0 comments on commit 7fd633f

Please sign in to comment.