computeDistanceBetween static method

double computeDistanceBetween(
  1. Point<num> from,
  2. Point<num> to
)

Returns the distance between two LatLngs, in meters.

Implementation

static double computeDistanceBetween(Point from, Point to) =>
    computeAngleBetween(from, to) * MathUtils.earthRadius;