AGSIdentifyTask Class Reference


Description

This task performs identify operations on an ArcGIS Server map service. An identify operation involves finding features in a map near a given a search location. The search can be conducted on all layers in the map service, just the visible layers, or just the top layer.

Defined in:
AGSIdentifyTask.h ( ArcGIS library)
Since:
1.0
Inheritance diagram for AGSIdentifyTask:
AGSTask <AGSSecuredResource>

List of all members.

Public Member Functions

(NSOperation *) - executeWithParameters:
(id) - initWithURL:
(id) - initWithURL:credential:

Static Public Member Functions

(id) + identifyTaskWithURL:
(id) + identifyTaskWithURL:credential:

Properties

AGSCredentialcredential
id< AGSIdentifyTaskDelegatedelegate
NSURL * URL

Member Function Documentation

- (NSOperation *) executeWithParameters: (AGSIdentifyParameters *)  params  

Performs an identify operation on the map service using the specified parameters. The delegate will be notified when the operation completes or if an error is encountered.

Parameters:
params Specifies the parameters for executing the search.
Returns:
NSOperation for current execute request.
Since:
1.0
See also:
AGSIdentifyTaskDelegate
+ (id) identifyTaskWithURL: (NSURL *)  url  

Initialize an autoreleased identify task.

Parameters:
url URL to a map service resource in the ArcGIS Server REST Services Directory.
Returns:
A new, autoreleased, identify task object.
Since:
1.0
+ (id) identifyTaskWithURL: (NSURL *)  url
credential: (AGSCredential *)  cred 

Initialize autoreleased identify task with credential.

Parameters:
url URL to a map service resource in the ArcGIS Server REST Services Directory.
cred AGSCredential for accessing a secure identify task.
Returns:
A new, autoreleased, identify task object.
Since:
1.0
- (id) initWithURL: (NSURL *)  url  

Initialize the task.

Parameters:
url URL to a task resource in the ArcGIS Server REST Services Directory.
Returns:
A new task object.
Since:
1.0
- (id) initWithURL: (NSURL *)  url
credential: (AGSCredential *)  cred 

Initialize the task with a URL and credential to a secured resource.

Parameters:
url URL to a task resource in the ArcGIS Server REST Services Directory.
cred AGSCredential used to access secure resource.
Returns:
A new task object.
Since:
1.0

Property Documentation

- (AGSCredential*) credential [read, write, copy, inherited]

The credential to be used to access secured resources.

Since:
1.0

Reimplemented from <AGSSecuredResource>.

- (id<AGSIdentifyTaskDelegate>) delegate [read, write, assign]

Delegate to be notified when the task completes successfully or encounters an error.

Since:
1.0
- (NSURL*) URL [read, copy, inherited]

URL to a task resource in the ArcGIS Server REST Services Directory.

Since:
1.0