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

outdatedDart 1 only

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

7
likes
0
points
36
downloads

Publisher

verified publisheryeradis.com

Weekly Downloads

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

Homepage

License

unknown (license)

More

Packages that depend on haversine