Class: ImageServiceIdentifyTask

Description

Class added v2.0
 dojo.require("esri.tasks.imageserviceidentify");

Performs an identify operation on an image service resource . It identifies the content of an image service for the input location and mosaic rule.

Samples

Search for samples that use this class.  

Class hierarchy

esri.tasks.ImageServiceIdentifyTask

Constructor

Constructor Description
esri.tasks.ImageServiceIdentifyTask(url) Creates a new ImageServiceIdentifyTask object.

Methods

Method Return Value Description
execute(params, callback?, errback?) dojo.Deferred Sends a request to the ArcGIS REST image service resource to identify content based on the ImageServiceIdentifyParameters specified in the imageServiceIdentifyParameters argument.

Events

Event Description
onComplete(imageServiceIdentifyResult) Fires when the identify operation is complete.
Constructor Detail

esri.tasks.ImageServiceIdentifyTask(url)

Creates a new ImageServiceIdentifyTask object.
Parameters:
<String> url Required

URL to the ArcGIS Server REST resource that represents an image service.

var imageTask = new esri.tasks.ImageServiceIdentifyTask("http://servicesbeta.esri.com/ArcGIS/rest/services/Portland/PortlandAerial/ImageServer");
Methods Detail

execute(params, callback?, errback?)

Sends a request to the ArcGIS REST image service resource to identify content based on the ImageServiceIdentifyParameters specified in the imageServiceIdentifyParameters argument.
Return value: dojo.Deferred
Input Parameters:
<ImageServiceIdentifyParameters> params Required Specifies the criteria used to identify the features.
<Function> callback Optional The function to call when the method has completed. The arguments in the function are the same as the onComplete event.
<Function> errback Optional An error object is returned if an error occurs on the Server during task execution.
Code snippets:
 imageTask.execute(imageParams, getResults);

Events Detail

onComplete(imageServiceIdentifyResult)

Fires when the identify operation is complete.
Arguments:
<ImageServiceIdentifyResult> imageServiceIdentifyResult The result of an identify operation.