Type Aliases

The following type aliases are available globally.

PointGeometry

  • A single position.

    Important

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

    Declaration

    Swift

    public typealias PointGeometry = GeoJSON<GeoJSONPosition>
  • An array of positions.

    Important

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

    Declaration

    Swift

    public typealias MultiPointGeometry = GeoJSON<[GeoJSONPosition]>
  • An array of 2 or more positions.

    Important

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

    Declaration

    Swift

    public typealias LineStringGeometry = GeoJSON<[GeoJSONPosition]>
  • An array of lineString coordinate arrays.

    Important

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

    Declaration

    Swift

    public typealias MultiLineStringGeometry = GeoJSON<[[GeoJSONPosition]]>
  • An array of linear rings.

    Important

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

    Declaration

    Swift

    public typealias PolygonGeometry = GeoJSON<[[GeoJSONPosition]]>
  • An array of polygon coordinate arrays.

    Important

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

    Declaration

    Swift

    public typealias MultiPolygonGeometry = GeoJSON<[[[GeoJSONPosition]]]>