AWSLocationSearchForPositionResult
Objective-C
@interface AWSLocationSearchForPositionResult
Swift
class AWSLocationSearchForPositionResult
Contains a search result from a position search query that is run on a place index resource.
Required parameters: [Place, Distance]
-
The distance in meters of a great-circle arc between the query position and the result.
A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.
Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable distance;Swift
var distance: NSNumber? { get set } -
Details about the search result, such as its address and position.
Declaration
Objective-C
@property (nonatomic, strong) AWSLocationPlace *_Nullable place;Swift
var place: AWSLocationPlace? { get set } -
The unique identifier of the place. You can use this with the
GetPlaceoperation to find the place again later.For
SearchPlaceIndexForPositionoperations, thePlaceIdis returned only by place indexes that use HERE or Grab as a data provider.Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable placeId;Swift
var placeId: String? { get set }
View on GitHub
Install in Dash
AWSLocationSearchForPositionResult Class Reference