I'm build an app for an Android smartphone with Phonegape and jQuery mobile.
I want to build an app which uses an arrow which points to a given geolocation, so the user knows in which direction he/she has to go to reach that point.
So I need a function or formula which determines an angle (preferably in degrees) to the destination geo position. Does anyone know how I can do this?