Skip to content

Commit

Permalink
chore: update Position type document with correct coordinate order (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tanlethanh authored Jun 26, 2024
1 parent b74fc6f commit bdb97cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/Position.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/**
* Position is a tuple of latitude and longitude.
* Position is a tuple of longitude and latitude, e.g. [longitude, latitude]
*/
export type Position = [number, number] | number[];

0 comments on commit bdb97cb

Please sign in to comment.