Represents a request to retrieve a SYPlace objects.
More...
#import <SYSearch.h>
|
NSUInteger | maxResultsCount |
| The maximum number of items in the response. Default value is 10. More...
|
|
NSArray< NSString * > * | categoryTags |
| See Place category SYPlaceCategory for values. More...
|
|
NSString * | preferredLanguage |
| NSString representing the preferred language for request responses. Default Value is [[NSLocale preferredLanguages] objectAtIndex:0]. More...
|
|
Represents a request to retrieve a SYPlace objects.
◆ initWithLocation:radius:tags:
- (nonnull instancetype) initWithLocation: |
|
(nonnull SYGeoCoordinate *) |
coordinate |
radius: |
|
(SYDistance) |
radius |
tags: |
|
(nonnull NSArray< NSString * > *) |
categoryTags |
|
|
| |
Creates a geocoder request.
- Parameters
-
coordinate | position to start search from |
radius | max search radius in meters |
categoryTags | See Place category SYPlaceCategory for values |
◆ initWithBoundingBox:tags:
- (nonnull instancetype) initWithBoundingBox: |
|
(nonnull SYGeoBoundingBox *) |
box |
tags: |
|
(nonnull NSArray< NSString * > *) |
categoryTags |
|
|
| |
Creates a geocoder request.
- Parameters
-
box | where to search |
categoryTags | See Place category SYPlaceCategory for values |
◆ maxResultsCount
- (NSUInteger) maxResultsCount |
|
readwritenonatomicassign |
The maximum number of items in the response. Default value is 10.
◆ categoryTags
- (NSArray<NSString*>*) categoryTags |
|
readwritenonatomicstrong |
See Place category SYPlaceCategory for values.
◆ preferredLanguage
- (NSString*) preferredLanguage |
|
readwritenonatomicstrong |
NSString representing the preferred language for request responses. Default Value is [[NSLocale preferredLanguages] objectAtIndex:0].
The documentation for this class was generated from the following file: