Geometry
public struct Geometry : Decodable
Geometry
Important
This is a Public Preview API. It may be changed or removed at any time.-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Types of geometry
Declaration
Swift
public enum GeometryType : String, Codable -
Type geometry representing by enum.
Declaration
Swift
public let type: GeometryType -
Object containing geometry of a specific type
Declaration
Swift
public let coordinates: GeoJSONGeometry? -
This object exists only if the geometry is part of a collection.
Declaration
Swift
public let geometries: GeometryCollection?
Geometry Structure Reference