GPXTrack

public class GPXTrack
extension GPXTrack: NativeBase
extension GPXTrack: Hashable

Single track from the GPXDocument. Can be used as an input to the LocationSimulator. Can be created and modified via GPXTrackWriter.

  • The value of the name of the element in the trkType. Can be overridden by the user. If nothing was set before, defaults to an empty string.

    Declaration

    Swift

    public var name: String { get set }
  • The value of the description of the element in the trkType. Can be overridden by the user. If nothing was set before, defaults to an empty string.

    Declaration

    Swift

    public var description: String { get set }
  • Provides a list of all stored track points converted to a Location object. See type_wptType for more details on the wptType format that is used for a track point.

    Declaration

    Swift

    public func getLocations() -> [Location]

    Return Value

    List of Location objects.