Geodesic

1.0.0

CLLocationCoordinate2D extensions for geodesic calculations.
sbooth/Geodesic

What's New

Version 1.0

2023-04-07T19:58:13Z

Geodesic

CLLocationCoordinate2D extensions for geodesic calculations.

let lax = CLLocationCoordinate2D(latitude: 33.9424964, longitude: -118.4080486)
let jfk = CLLocationCoordinate2D(latitude: 40.6399278, longitude: -73.7786925)
let distance = lax.distanceTo(jfk)
// distance is approx. 3,982,961 m

License

Geodesic is released under the MIT License.

Description

  • Swift Tools 5.3.0
View More Packages from this Author

Dependencies

Last updated: Sat Mar 16 2024 16:57:59 GMT-0900 (Hawaii-Aleutian Daylight Time)