ImageIdentifyTask

AMD: require(["esri/tasks/ImageIdentifyTask"], (ImageIdentifyTask) => { /* code goes here */ });
ESM: import ImageIdentifyTask from "@arcgis/core/tasks/ImageIdentifyTask";
Class: esri/tasks/ImageIdentifyTask
Inheritance: ImageIdentifyTask Task Accessor
Since: ArcGIS API for JavaScript 4.18
Deprecated since version 4.20. Use imageService instead.

Performs an identify operation on an image service resource. It identifies the content of an image service for the input location and mosaic rule. Use ImageIdentifyParameters to set the parameters of the task and ImageIdentifyResult to work with the results.

See also:

Constructors

new ImageIdentifyTask(properties)
Parameter:
properties Object
optional

See the properties for a list of all the properties that may be passed into the constructor.

Property Overview

Any properties can be set, retrieved or listened to. See the Working with Properties topic.
Show inherited properties Hide inherited properties
Name Type Summary Class
Stringmore details

The name of the class.

more detailsAccessor
Stringmore details

The ArcGIS Server REST service URL (usually of a Feature Service Layer or Map Service Layer) for use in a task.

more detailsTask

Property Details

declaredClass Stringreadonly inherited

The name of the class. The declared class name is formatted as esri.folder.className.

The ArcGIS Server REST service URL (usually of a Feature Service Layer or Map Service Layer) for use in a task.

Method Overview

Name Return Type Summary Class
Promise<ImageIdentifyResult>more details

Sends a request to the ArcGIS REST image service resource to identify content based on the ImageIdentifyParameters specified in the params argument.

more detailsImageIdentifyTask

Method Details

execute(params, requestOptions){Promise<ImageIdentifyResult>}

Sends a request to the ArcGIS REST image service resource to identify content based on the ImageIdentifyParameters specified in the params argument.

Parameters:
Autocasts from Object

Specifies the criteria used to identify the features.

requestOptions Object
optional

Additional options to be used for the data request.

Returns:
Type Description
Promise<ImageIdentifyResult> When resolved, returns an instance of ImageIdentifyResult.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.