GPXRoute
public final class GPXRoute : GPXElement, Codable, GPXRouteType
Value type that represents a route, or rteType
in GPX v1.1 schema.
The route can represent the planned route of a specific trip.
-
Name of the route.
Declaration
Swift
public var name: String?
-
Additional comment of the route.
Declaration
Swift
public var comment: String?
-
Description of the route.
Declaration
Swift
public var desc: String?
-
Source of the route.
Declaration
Swift
public var source: String?
-
Type of route.
Declaration
Swift
public var type: String?
-
Extensions
Declaration
Swift
public var extensions: GPXExtensions?
-
Route points in the route.
All route points joined represents a route.
Declaration
Swift
@available(*, deprecated, renamed: "points") public var routepoints: [GPXRoutePoint] { get }
-
Route points in the route.
All route points joined represents a route.
Declaration
Swift
public var points: [GPXRoutePoint]
-
Number of route (possibly a tag for the route)
Declaration
Swift
public var number: Int?
-
Default initializer.
Declaration
Swift
public required init()