CoreLocationUtils

MIT License
Objective-C
iOS

1 image

Author

Description

A category with convenient methods for CLLocation.

Initialize with latitude and longitude in radians

Initialize with a pretty string format (e.g. latitude = @"34° 36' 12\" N" longitude = @"35° 12' 24\" W")

Obtain coordinates in a pretty format

Distance between coordinates using haversine, spherical law of cosines, pythagoras, rhumb line formulas

Midpoint along a great circle path between coordinates

Initial/final bearings to target location from source location

Calculate target location with a given distance and bearing from source location

Tags