GeoJSONPosition
public struct GeoJSONPosition
extension GeoJSONPosition: Equatable
                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
longitudeThe longitudinal coordinate.
latitudeThe latitudinal coordinate.
elevationThe elevation at the coordinates.
 
- 
                  
                  
The longitudinal coordinate.
Declaration
Swift
public let longitude: Double - 
                  
                  
The latitudinal coordinate.
Declaration
Swift
public let latitude: Double - 
                  
                  
The elevation at the coordinates.
Declaration
Swift
public let elevation: Double? 
- 
                  
                  
Equatable implementation
Declaration
Swift
public static func == (lhs: GeoJSONPosition, rhs: GeoJSONPosition) -> Bool 
        
 
          TomTom SDK for iOS (0.40.0)
        
          GeoJSONPosition