TTPlaceByIdResult

@interface TTPlaceByIdResult : NSObject

TTPlaceByIdResult

  • The type of result (should always be POI).

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var distance: Double { get }
  • Detailed address of the result.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, readonly) CLLocationCoordinate2D position;

    Swift

    var position: CLLocationCoordinate2D { get }
  • The viewport.

    Declaration

    Objective-C

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

    Swift

    var viewport: UnsafeMutablePointer<Int32> { get }
  • Additional info.

    Declaration

    Objective-C

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

    Swift

    var info: String { get }
  • (Only for results of type Geography) Type of the entity (one of County, CountrySubdivision, CountrySecondarySubdivision, CountryTeritarySubdivision, Municipality, MunicipalitySubdivision, Neighbourhood, PostalCodeArea).

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) NSString *_Nullable entityType;

    Swift

    var entityType: String? { get }
  • poi

    Information about the POI.

    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 }
  • A list of entrances to the POI.

    Declaration

    Objective-C

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

    Swift

    var entryPoints: [TTEntryPoint]? { get }
  • Address ranges on a street segment. Available only for results where result type is equal to Address Range.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly) TTAddressRanges *_Nullable addressRanges;

    Swift

    var addressRanges: TTAddressRanges? { get }
  • Additional data sources related with result.

    Declaration

    Objective-C

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

    Swift

    var additionalDataSources: TTAdditionalDataSources? { get }