directionBetween static method

double directionBetween({
  1. required GeoValue to,
  2. required GeoValue from,
})

Calculates the direction from from to to.

Returned at a maximum of 180 degrees.

fromからtoへの方向を計算します。

最大180度で返されます。

Implementation

static double directionBetween({
  required GeoValue to,
  required GeoValue from,
}) {
  return _GeoUtility.direction(from, to);
}