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

isClosedPolygon

fun List<LatLng>.isClosedPolygon(): Boolean

Checks whether or not this LatLng list is a closed Polygon.

Return
true if this list is a closed Polygon, otherwise, false

See Also

PolyUtil.isClosedPolygon