TTPlaceByIdResult
Objective-C
@interface TTPlaceByIdResult : NSObject
Swift
class TTPlaceByIdResult : NSObject
Public Preview
This is under Public Preview and subject to change by the end of 2020.12.
More information is available at: https://developer.tomtom.com/public-preview
-
The id of result.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull identifier;Swift
var identifier: String { get } -
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, readonly) double score;Swift
var score: Double { get } -
The distance of the result.
Declaration
Objective-C
@property (nonatomic, readonly) double distance;Swift
var distance: Double { 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 viewportSwift
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 } -
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 }
TTPlaceByIdResult Class Reference