Skip to content

Commit

Permalink
fix: Fix coordinate order
Browse files Browse the repository at this point in the history
  • Loading branch information
tmcw committed Oct 31, 2022
1 parent 4b70673 commit 7beb46c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -12785,8 +12785,8 @@ Object {
37.92006947469352,
],
Array [
14.600668902543442,
37.91801270483731,
15.358941332345658,
37.466463107960706,
],
Array [
14.60190128636069,
Expand Down Expand Up @@ -12832,8 +12832,8 @@ Object {
37.92006947469352,
],
Array [
14.600668902543442,
37.91801270483731,
15.358941332345658,
37.466463107960706,
],
Array [
14.60190128636069,
Expand Down
2 changes: 1 addition & 1 deletion lib/kml/ground_overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function getLatLonBox(node: Element): Polygon | null {
[west, south], // bottom left
[west, north], // top left
[east, north], // top right
[west, north], // bottom right
[east, south], // top right
[west, south], // bottom left (again)
],
];
Expand Down

0 comments on commit 7beb46c

Please sign in to comment.