TTAlongRouteSearchResult

Objective-C

@interface TTAlongRouteSearchResult : NSObject

Swift

class TTAlongRouteSearchResult : NSObject

TTAlongRouteSearchResult

  • The type of result.

    Declaration

    Objective-C

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

    Swift

    var type: String { get }
  • ID

    The id of result.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, readonly) double score;

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, readonly) double distance;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var info: String { get }
  • poi

    The Poi of the result.

    Declaration

    Objective-C

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

    Swift

    var poi: TTPoi? { get }
  • The list of mapcode objects.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSArray<TTMapCode *> *_Nullable mapCodes;

    Swift

    var mapCodes: [TTMapCode]? { get }
  • The address of the result.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, readonly) 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 (nonatomic, strong, readonly) NSArray<TTEntryPoint *> *_Nullable entryPoints;

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, readonly) int detourTime;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var detourOffset: NSNumber? { get }
  • Additional data sources related to the result.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) TTAdditionalDataSources *_Nullable additionalDataSources;

    Swift

    var additionalDataSources: TTAdditionalDataSources? { get }