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
GeoJSONPosition
Declaration
Swift
public init(longitude: Double, latitude: Double, elevation: Double? = nil)
Parameters
longitude
The longitudinal coordinate.
latitude
The latitudinal coordinate.
elevation
The elevation at the coordinates.
-
Declaration
Swift
public init(from decoder: Decoder) throws