Input parameters for a suggest operation on AGSLocatorTask
.
Instances of this class represent input parameters for suggestWithSearchText:parameters:completion: (AGSLocatorTask)
- Since
- 100
◆ suggestParameters
+ (instancetype) suggestParameters |
|
|
|
◆ categories
- (NSArray<NSString*>*) categories |
|
readwritenonatomiccopy |
◆ countryCode
- (NSString*) countryCode |
|
readwritenonatomiccopy |
◆ maxResults
The maximum number of suggestions required.
- Since
- 100
◆ preferredSearchLocation
The location by which to prioritize/order suggestions. Suggestions that fall within a 50 KM buffer of this location are boosted in rank so that they show up higher in the list, but others further away are still included. To exclude suggestions based on a region, use searchArea
instead. The preferred search location is only intended to influence the sort order so that the most locationally-relevant candidates are returned first.
- Since
- 100
◆ searchArea
The search area used to spatially filter the suggestions. Only suggestions that lie within this area are included.
- Since
- 100