GPXElement

open class GPXElement : NSObject

A root class for all element types

All element types such as waypoints, tracks or routes are subclasses of GPXElement. This class brings important methods that aids towards creation of a GPX file.

Note

This class should not be used as is. To use its functionalities, please subclass it instead.
  • Default Initializer

    Declaration

    Swift

    public required override init()
  • for generating newly tracked data straight into a formatted String that holds formatted data according to GPX syntax

    Declaration

    Swift

    open func gpx() -> String