25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSLoadableRemoteResourceBase.h>
27 #import <ArcGIS/AGSAPIKeyResource.h>
28 #import <ArcGIS/AGSCancelable.h>
54 #pragma mark initializers
63 -(instancetype)initWithURL:(NSURL*)URL;
70 +(instancetype)locatorTaskWithURL:(NSURL*)URL;
77 -(instancetype)initWithName:(NSString*)name;
84 +(instancetype)locatorTaskWithName:(NSString*)name;
87 #pragma mark properties
104 -(id<
AGSCancelable>)geocodeWithSearchText:(NSString *)searchText
105 completion:(
void(^)(NSArray<
AGSGeocodeResult*> * __nullable geocodeResults, NSError * __nullable error))completion;
114 -(id<
AGSCancelable>)geocodeWithSearchText:(NSString*)searchText
116 completion:(
void(^)(NSArray<
AGSGeocodeResult*> * __nullable geocodeResults, NSError * __nullable error))completion;
125 completion:(
void(^)(NSArray<
AGSGeocodeResult*> * __nullable geocodeResults, NSError * __nullable error))completion;
136 completion:(
void(^)(NSArray<
AGSGeocodeResult*> * __nullable geocodeResults, NSError * __nullable error))completion;
144 -(id<
AGSCancelable>)geocodeWithSearchValues:(NSDictionary<NSString*, NSString*> *)searchValues
145 completion:(
void(^)(NSArray<
AGSGeocodeResult*> * __nullable geocodeResults, NSError * __nullable error))completion;
154 -(id<
AGSCancelable>)geocodeWithSearchValues:(NSDictionary<NSString*, NSString*> *)searchValues
156 completion:(
void(^)(NSArray<
AGSGeocodeResult*> * __nullable geocodeResults, NSError * __nullable error))completion;
165 completion:(
void(^)(NSArray<
AGSGeocodeResult*> * __nullable geocodeResults, NSError * __nullable error))completion;
176 completion:(
void(^)(NSArray<
AGSGeocodeResult*> * __nullable geocodeResults, NSError * __nullable error))completion;
190 -(id<
AGSCancelable>)suggestWithSearchText:(NSString*)searchText
191 completion:(
void(^)(NSArray<
AGSSuggestResult*> * __nullable suggestResults, NSError * __nullable error))completion;
206 -(id<
AGSCancelable>)suggestWithSearchText:(NSString*)searchText
208 completion:(
void(^)(NSArray<
AGSSuggestResult*> * __nullable suggestResults, NSError * __nullable error))completion;
Parameters to refine gecoding results returned by AGSLocatorTask.
Definition: AGSGeocodeParameters.h:42
A match candidate returned from an AGSLocatorTask geocode or reverse geocode operation.
Definition: AGSGeocodeResult.h:43
Definition: AGSLoadableRemoteResourceBase.h:35
Metadata about the locator service or dataset used by AGSLocatorTask.
Definition: AGSLocatorInfo.h:40
A task to geocode and reverse-geocode addresses and places.
Definition: AGSLocatorTask.h:51
AGSLocatorInfo * locatorInfo
Definition: AGSLocatorTask.h:93
A location defined by x and y (and optionally z) coordinates.
Definition: AGSPoint.h:73
Parameters to refine reverse-gecoding results returned by AGSLocatorTask.
Definition: AGSReverseGeocodeParameters.h:40
Input parameters for a suggest operation on AGSLocatorTask.
Definition: AGSSuggestParameters.h:40
Result of a suggest operation on AGSLocatorTask.
Definition: AGSSuggestResult.h:37
An interface for getting and setting the API key of an object.
Definition: AGSAPIKeyResource.h:36
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38