Reputation: 162
I have calculated the distance between two latitude and longitudes using the Haversine formula,but how can I know the direction to which I should move.
for example : the distance of a hotel is 10 m from my location but i don't know which direction it is. Hope it makes sense.
Upvotes: 0
Views: 217
Reputation: 157487
If I haven't misunderstood, you should use the bearing
. It refers always to north
Upvotes: 1