views:

137

answers:

1

Hi I would like to in my application display something like: you're destination is 400 ft north west.

I currently use the getDistanceFrom method but that only gives me the feet between 2 locations.

Thanks for your help.

+5  A: 

You probably should simply use Latitude Longitude equations to calculate the bearing and then set certain ranges of bearings to be SW,S,SE, etc.

http://www.movable-type.co.uk/scripts/latlong.html

MindStalker
The code here might be useful "Core Location extensions for bearing and distance" http://www.thismuchiknow.co.uk/?p=120
Shaji