TTAlongRouteSearchResult

@interface TTAlongRouteSearchResult : NSObject

TTAlongRouteSearchResult

  • The type of result.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *_Nonnull type;

    Swift

    var type: String { get }
  • ID

    The id of result.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *_Nonnull ID;

    Swift

    var id: String { get }
  • The score of result.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) double score;

    Swift

    var score: Double { get }
  • The distance of result. -1 if unknown

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) double distance;

    Swift

    var distance: Double { get }
  • The information of the result.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *_Nonnull info;

    Swift

    var info: String { get }
  • poi

    The Poi of the result.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) TTPoi *_Nullable poi;

    Swift

    var poi: TTPoi? { get }
  • The address of the result.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) TTAddress *_Nonnull address;

    Swift

    var address: TTAddress { get }
  • The position of the result.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) CLLocationCoordinate2D position;

    Swift

    var position: CLLocationCoordinate2D { get }
  • The view port of the result.

    Declaration

    Objective-C

    @property(nonatomic, readonly, strong) TTBoundingBox *_Nonnull viewport

    Swift

    var viewport: UnsafeMutablePointer<Int32> { get }
  • The array of entry points of the result.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic)
        NSArray<TTEntryPoint *> *_Nullable entryPoints;

    Swift

    var entryPoints: [TTEntryPoint]? { get }
  • The detour time of the result.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) int detourTime;

    Swift

    var detourTime: Int32 { get }
  • The detour offset in meters.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSNumber *_Nullable detourOffset;

    Swift

    var detourOffset: NSNumber? { get }