GPXWaypoint
extension GPXWaypoint: MKAnnotation
Extends GPXWaypoint to support the MKAnnotation protocol. It allows to add the waypoint as a pin in the map
-
Inits the point with a coordinate
Declaration
Swift
convenience init(coordinate: CLLocationCoordinate2D)
-
Declaration
Swift
convenience init(coordinate: CLLocationCoordinate2D, altitude: CLLocationDistance?)
-
Title displayed on the annotation bubble. Is the attribute name of the waypoint.
Declaration
Swift
public var title: String? { get set }
-
Subtitle displayed on the annotation bubble Description of the GPXWaypoint.
Declaration
Swift
public var subtitle: String? { get set }
-
Annotation coordinates. Returns/Sets the waypoint latitude and longitudes.
Declaration
Swift
public var coordinate: CLLocationCoordinate2D { get set }