GeoJSONPosition
public struct GeoJSONPosition : Decodable
GeoJSONPosition
Important
This is a Public Preview API. It may be changed or removed at any time.-
Create a new
GeoJSONPositionDeclaration
Swift
public init(longitude: Double, latitude: Double, elevation: Double? = nil)Parameters
longitudeThe longitudinal coordinate.
latitudeThe latitudinal coordinate.
elevationThe elevation at the coordinates.
-
Declaration
Swift
public init(from decoder: Decoder) throws
GeoJSONPosition Structure Reference