PolygonGeometry

data class PolygonGeometry(@Size(min = 0, max = 50) val vertices: List<GeoPoint>) : Geometry

Represents information about a polygon.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
fun PolygonGeometry(@Size(min = 0, max = 50) vertices: List<GeoPoint>)

Properties

Link copied to clipboard

The polygon's coordinates. Max number of vertices is 50.