computeHeading

open fun computeHeading(@NonNull from: LatLng, @NonNull to: LatLng): Double

Returns the heading from one LatLng to another LatLng. Headings are expressed in degrees clockwise from North within the range [-180,180).

Return

The heading in degrees clockwise from north.