Geometry
public struct Geometry
Geometry
-
Create a Geometry using type and geometries.
Declaration
Swift
public init(type: Geometry.GeometryType, geometries: GeometryCollection)
-
Types of geometry
Declaration
Swift
public enum GeometryType
-
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?