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 }
-
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 ofCounty
,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 }