I want to find angle between two coordinates with latitude and longitude on the World, but i really don’t know how it works because World is a globe and i am not sure if simple arctan(dy/dx) works. Should i think it as a 2D plane or what ? Will i get accurate results using simple arctan between two world coordinates ?
Share
You can insert the coordinates to 2 Location objects, and use the bearingTo method. you’ll receive the angle as a float.