GPXPoint
open class GPXPoint : GPXElement, Codable
- This class (
ptType
) is added to conform with the GPX v1.1 schema.
ptType
of GPX schema. Not supported in GPXRoot, nor GPXParser’s parsing.
-
Elevation Value in (metre, m)
Declaration
Swift
public var elevation: Double?
-
Time/Date of creation
Declaration
Swift
public var time: Date?
-
Latitude of point
Declaration
Swift
public var latitude: Double?
-
Longitude of point
Declaration
Swift
public var longitude: Double?
-
Default Initializer.
Declaration
Swift
required public init()
-
Initialize with latitude and longitude
Declaration
Swift
public init(latitude: Double, longitude: Double)