Polygon
data class Polygon(val exteriorRing: LineString, val interiorRings: List<LineString>, val boundingBox: GeoBoundingBox? = null) : Geometry, GeoJsonObject
A GeoJSON Geometry type comprising one or more LineStrings. In all cases the first and the last Position in a LineString contain identical values.
Constructors
Link copied to clipboard
constructor(exteriorRing: LineString, interiorRings: List<LineString>, boundingBox: GeoBoundingBox? = null)
Properties
Link copied to clipboard
Bounding box of the GeoJsonObject.
Link copied to clipboard
The exterior ring represents the outer edges of a polygon and is a LineString of at least four GeoPoint counterclockwise order.
Link copied to clipboard
The interior rings (0 or more) - LineStrings of at least four GeoPoint
s in clockwise order - define holes in the polygon.