computeSignedArea static method

num computeSignedArea(
  1. List<LatLng> path
)

Returns the signed area of a closed path on Earth. The sign of the area may be used to determine the orientation of the path. "inside" is the surface that does not contain the South Pole. @param path A closed path. @return The loop's area in square meters.

Implementation

static num computeSignedArea(List<LatLng> path) =>
    _computeSignedArea(path, earthRadius);