angle And Direction Between Locations
open fun angleAndDirectionBetweenLocations(locA: LatLng, locB: LatLng, locC: LatLng): Map<String, Number>
Calculates the angle and direction between 3 coordinates. A direction value larger than 0 indicates a left turn. A direction value smaller than 0 indicates a right turn. A direction value equal to 0 indicates no turn i.e. the 3 points are colinear.
Return
A HashMap with keys: ["angle", "direction"]
Parameters
loc A
first coordinate
loc B
second coordinate
loc C
third coordinate