GeoJSONPosition
public struct GeoJSONPosition
Fundamental geometry construct. All other GeoJSON geometry types are built based on it.
-
Create a
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.