| Package | com.esri.ags.tasks |
| Class | public class ImageServiceIdentifyTask |
| Inheritance | ImageServiceIdentifyTask BaseTask flash.events.EventDispatcher |
| Since : | ArcGIS API for Flex 2.0 |
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | autoNormalize : Boolean
If true, normalizes the geometries across the central meridian. | BaseTask | |
![]() | concurrency : String
Value that indicates how to handle multiple calls to the same task. | BaseTask | |
![]() | disableClientCaching : Boolean
If true, adds a timestamp parameter ("_ts") to the REST request to prevent the request from
being loaded from the browser's cache. | BaseTask | |
| executeLastResult : ImageServiceIdentifyResult
ImageServiceIdentifyResult object returned from last call to the execute function. | ImageServiceIdentifyTask | ||
![]() | method : String
URL request method to use. | BaseTask | |
![]() | proxyURL : String
The URL to proxy the request through. | BaseTask | |
![]() | requestTimeout : int
The request timeout in seconds. | BaseTask | |
![]() | showBusyCursor : Boolean
If true, a busy cursor is displayed while a service is executing. | BaseTask | |
![]() | token : String
Token for accessing a secure task. | BaseTask | |
![]() | url : String
URL of the task. | BaseTask | |
| Method | Defined By | ||
|---|---|---|---|
ImageServiceIdentifyTask(url:String = null)
Creates a new ImageServiceIdentifyTask object. | ImageServiceIdentifyTask | ||
execute(imageServiceIdentifyParameters:ImageServiceIdentifyParameters, responder:IResponder = null):AsyncToken
Sends a request to the ArcGIS REST image service resource to identify content
based on the ImageServiceIdentifyParameters specified in the imageServiceIdentifyParameters argument. | ImageServiceIdentifyTask | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched when an execute operation successfully completes. | ImageServiceIdentifyTask | |||
| Dispatched when an ImageServiceIdentifyTask fails. | ImageServiceIdentifyTask | |||
| executeLastResult | property |
executeLastResult:ImageServiceIdentifyResultImageServiceIdentifyResult object returned from last call to the execute function.
This property can be used as the source for data binding.
public function get executeLastResult():ImageServiceIdentifyResult public function set executeLastResult(value:ImageServiceIdentifyResult):void| ImageServiceIdentifyTask | () | Constructor |
public function ImageServiceIdentifyTask(url:String = null)Creates a new ImageServiceIdentifyTask object.
Parametersurl:String (default = null) — [optional] URL to the ArcGIS Server REST resource that represents an image service.
|
| execute | () | method |
public function execute(imageServiceIdentifyParameters:ImageServiceIdentifyParameters, responder:IResponder = null):AsyncTokenSends a request to the ArcGIS REST image service resource to identify content based on the ImageServiceIdentifyParameters specified in the imageServiceIdentifyParameters argument. On completion, the executeComplete event is fired and the optional responder is called.
Parameters
imageServiceIdentifyParameters:ImageServiceIdentifyParameters — The criteria used to identify the features.
| |
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken —
|
| executeComplete | Event |
com.esri.ags.events.ImageServiceIdentifyEventcom.esri.ags.events.ImageServiceIdentifyEvent.EXECUTE_COMPLETEDispatched when an execute operation successfully completes.
Defines the value of thetype property of an executeComplete event object.
| fault | Event |
mx.rpc.events.FaultEventmx.rpc.events.FaultEvent.FAULTDispatched when an ImageServiceIdentifyTask fails.