PolygonGeometry
public class PolygonGeometry : GeoJSON
An array of linear rings.
Important
This is a Public Preview API. It may be changed or removed at any time.-
A closed “Line String” with four or more positions.
Declaration
Swift
public typealias LinearRing = [GeoJSONPosition]
-
An object containing information about the coordinates of an element.
Declaration
Swift
public var coordinates: Coordinates
-
The first
LinearRing
of a polygon represents its external ring.Declaration
Swift
public var exteriorRing: Coordinates.Element? { get }
-
The internal holes of the polygon. May be empty.
Declaration
Swift
public var internalRings: Coordinates.SubSequence { get }