TTGeometrySearchResult
Objective-C
@interface TTGeometrySearchResult : NSObject
Swift
class TTGeometrySearchResult : NSObject
TTGeometrySearchResult
-
Type of result. May be: POI, Street, Geography, Point Address, Address Range, Cross Street
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull type;Swift
var type: String { get } -
The Id of the result like “CA/POI/p0/107249”.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nonnull ID;Swift
var id: String { get } -
The Score of the result like “11.3,”.
Declaration
Objective-C
@property (nonatomic, readonly) double score;Swift
var score: Double { get } -
The Position of the result type CLLocationCoordinate2D.
Declaration
Objective-C
@property (nonatomic, readonly) CLLocationCoordinate2D position;Swift
var position: CLLocationCoordinate2D { get } -
The Viewport of the result type TTBoundingBox.
Declaration
Objective-C
@property(nonatomic, strong, readonly) TTBoundingBox *_Nonnull viewportSwift
var viewport: UnsafeMutablePointer<Int32> { get } -
Optional value Distance of the result.
Declaration
Objective-C
@property (nonatomic, readonly) double distance;Swift
var distance: Double { get } -
Optional value Info of the result.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nullable info;Swift
var info: String? { get } -
Optional value EntityType of the result.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSString *_Nullable entityType;Swift
var entityType: String? { get } -
Optional value BoundingBox of the result type TTBoundingBox.
Declaration
Objective-C
@property(nonatomic, strong, readonly) TTBoundingBox *_Nullable boundingBoxSwift
var boundingBox: UnsafeMutablePointer<Int32>? { get } -
Optional value EntryPoints of the result type NSArray
. Declaration
Objective-C
@property (nonatomic, strong, readonly) NSArray<TTEntryPoint *> *_Nullable entryPoints;Swift
var entryPoints: [TTEntryPoint]? { get } -
Optional value AddressRanges of the result type TTAddressRanges.
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 }
TTGeometrySearchResult Class Reference