Skip to content

Commit 332ab20

Browse files
authored
Merge pull request #13 from CatalystCode/documentation-fix
Add documentation for x/y of centroid
2 parents 8faa6e2 + 4332bbf commit 332ab20

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/features.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ function parseCentroid(centroid_geo_json) {
7171
return null;
7272
}
7373

74-
const x = coords[0];
75-
const y = coords[1];
74+
const x = coords[0]; // longitude
75+
const y = coords[1]; // latitude
7676

7777
return [x, y];
7878
}

0 commit comments

Comments
 (0)