GeoJSONPosition
public struct GeoJSONPosition
Fundamental geometry construct. All other GeoJSON geometry types are built based on it.
-
Create a
GeoJSONPositionDeclaration
Swift
public init(longitude: Double, latitude: Double, elevation: Double? = nil)Parameters
longitudeThe longitudinal coordinate.
latitudeThe latitudinal coordinate.
elevationThe elevation at the coordinates.
GeoJSONPosition Structure Reference