sphericalHeading

inline fun LatLng.sphericalHeading(toLatLng: LatLng): Double

Computes the heading from this LatLng to toLatLng.

Return

the heading expressed in degrees clockwise from North within the range -180, 180

Parameters

toLatLng

the other LatLng to compute the heading to

See also

SphericalUtil.computeHeading