TKDirectionsSet

@interface TKDirectionsSet : NSObject

A set of directions usable for display.

  • Source location of the calculated directions.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) CLLocation *_Nonnull sourceLocation;

    Swift

    var sourceLocation: CLLocation { get }
  • Destination location of the calculated directions.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) CLLocation *_Nonnull destinationLocation;

    Swift

    var destinationLocation: CLLocation { get }
  • Air distance between the source and the destination location.

    Declaration

    Objective-C

    @property (readonly, atomic) CLLocationDistance airDistance;

    Swift

    var airDistance: CLLocationDistance { get }
  • Calculated cases of the route to avoid.

    Declaration

    Objective-C

    @property (readonly, atomic) TKDirectionAvoidOption avoidOption;

    Swift

    var avoidOption: TKDirectionAvoidOption { get }
  • Waypoints along the calculated route.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic, nullable) NSArray<CLLocation *> *waypoints;

    Swift

    var waypoints: [CLLocation]? { get }
  • Array of the calculated directions.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic)
        NSArray<TKDirection *> *_Nonnull directions;

    Swift

    var directions: [TKDirection] { get }