maps-utils-ktx / com.google.maps.android.ktx.utils / kotlin.collections.List / sphericalPolygonSignedArea

sphericalPolygonSignedArea

fun List<LatLng>.sphericalPolygonSignedArea(): Double

Computes the signed area under a closed path on Earth. The sign of the area may be used to determine the orientation of the path.

Return
the signed area in square meters