Skip to content

Commit

Permalink
Merge pull request #13 from CatalystCode/documentation-fix
Browse files Browse the repository at this point in the history
Add documentation for x/y of centroid
  • Loading branch information
c-w committed Sep 5, 2017
2 parents 8faa6e2 + 4332bbf commit 332ab20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/features.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ function parseCentroid(centroid_geo_json) {
return null;
}

const x = coords[0];
const y = coords[1];
const x = coords[0]; // longitude
const y = coords[1]; // latitude

return [x, y];
}
Expand Down

0 comments on commit 332ab20

Please sign in to comment.