Type Aliases
The following type aliases are available globally.
-
A single GeoJSON position.
Declaration
Swift
public typealias PointGeometry = GeoJSON<GeoJSONPosition>
-
An array of GeoJSON positions.
Declaration
Swift
public typealias MultiPointGeometry = GeoJSON<[GeoJSONPosition]>
-
An array of two or more GeoJSON positions.
Declaration
Swift
public typealias LineStringGeometry = GeoJSON<[GeoJSONPosition]>
-
An array of line string geometries. Each line string is represented by a one-dimensional GeoJSON position array.
Declaration
Swift
public typealias MultiLineStringGeometry = GeoJSON<[[GeoJSONPosition]]>
-
An array of linear ring geometries. Each linear ring is represented by a one-dimensional GeoJSON position array. For polygons with multiple rings, the first must be the exterior ring and any others must be interior rings or holes.
Declaration
Swift
public typealias PolygonGeometry = GeoJSON<[[GeoJSONPosition]]>
-
An array of polygon geometries.
Declaration
Swift
public typealias MultiPolygonGeometry = GeoJSON<[[[GeoJSONPosition]]]>