Is there a way to calculate angle between two Latitude/Longitude points?
What I am trying to achieve is to know where the user is heading. For example, user is head
With javascript, just use Turf:
var point1 = turf.point([-75.343, 39.984]); var point2 = turf.point([-75.534, 39.123]); var bearing = turf.bearing(point1, point2);