Performs an identify operation on the layers of a map service exposed by the ArcGIS Server REST API. Use IdentifyParameters to set the parameters for the identify operation and IdentifyResult to work with the results.
IdentifyTask is currently not supported if attempting to be used:
- in a 3D SceneView
- with dynamic layers
The name of the class.more details
Specify the geodatabase version to search.more details
The options to be used for data requests.more details
URL to the ArcGIS Server REST resource that represents a map service.more details
The name of the class. The declared class name is formatted as
- gdbVersion String
Specify the geodatabase version to search. Requires ArcGIS Server service 10.1 or greater.
The options to be used for data requests. These options can also be controlled through the
- url String
URL to the ArcGIS Server REST resource that represents a map service.
Sends a request to the ArcGIS REST map service resource to identify features based on the IdentifyParameters specified.more details
Sends a request to the ArcGIS REST map service resource to identify features based on the IdentifyParameters specified.Parameters:params IdentifyParameters
Specifies the criteria used to identify the features.requestOptions Objectoptional
Additional options to be used for the data request (will override requestOptions defined during construction).Returns:
Type Description Promise<Object> Resolves to an object with the following properties: Property Type Description results IdentifyResult An array of objects containing the result features of the Identify task. exceededTransferLimit Boolean exceededTransferLimit is included in the response only if the result exceeded the transfer limit.
API Reference search results