calculate Heading Offset
calculateHeadingOffset calculates the angle between two headings e.g. the user heading and the heading of a road.
Return
The inner angle between the two headings in degrees. This can be up to 180.0 degrees because that's the maximum difference between headings.
Parameters
heading1
heading2