isClosedPolygon

inline 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