TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | Custom |
ReleasedLast Release | Dec 2014 |
Maintained by Unclaimed.
An Objective-C port of the Latitude/longitude spherical geodesy formulae & scripts by Chris Veness. Read more about it here: http://www.movable-type.co.uk/scripts/latlong.html
The port is not complete yet though. I've only ported those that are currently of use to me. Feel free to fork and add more.
This is a fork of BJ Basañes original SLatLong.
Finding the destination point based on a origin, distance, radius (from earth) and bearing (direction).
JPCoordinate pointA = {37.30, -121.91};
JPCoordinate pointB = [JPGeodesy destinationPointFromPoint:pointA withBearing:180.0 distance:1900 radius:6371];
NSLog("latitude:%f longitude:%f", pointB.latitude, pointB.longitude);
You can just drag the files, but you get extra points for being awesome and using CocoaPods.