calculateHeadingOffset

fun calculateHeadingOffset(heading1: Double, heading2: Double): Double

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.

Parameters

heading1
heading2