computeSignedArea

open fun computeSignedArea(@NonNull path: List<LatLng>): Double

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.

Return

The loop's area in square meters.

Parameters

path

A closed path.