computeArea static method

double computeArea(
  1. List<Point<double>> path
)

Returns the area of a closed path on Earth.

path A closed path.

Returns The path's area in square meters.

Implementation

static double computeArea(List<Point<double>> path) =>
    computeSignedArea(path).abs();