haversine 1.0.2 copy "haversine: ^1.0.2" to clipboard
haversine: ^1.0.2 copied to clipboard

Calculate geographic distance on earth having a pair of Latitude/Longitude points using the Haversine formula.

Changelog #

0.0.1 #

  • Initial version for calculating geographic distance using the Haversine formula

0.0.2 #

  • Minor update, now using the WGS84 major axis for the Earth radius

1.0.0 #

Added coordinates validation. A coordinate is considered invalid if it meets at least one of the following criteria:

  • Its latitude is greater than 90 degrees or less than -90 degrees.
  • Its longitude is greater than 180 degrees or less than -180 degrees.

see Decimal degrees

1.0.1 #

Update tests

1.0.2 #

Minor update to removee the upper bound sdk limit

7
likes
40
pub points
37%
popularity

Publisher

verified publisheryeradis.com

Calculate geographic distance on earth having a pair of Latitude/Longitude points using the Haversine formula.

Homepage

License

MIT (LICENSE)

More

Packages that depend on haversine