| Package | com.esri.ags.tasks |
| Class | public class IdentifyTask |
| Inheritance | IdentifyTask BaseTask flash.events.EventDispatcher |
Set the url to the ArcGIS Server REST resource that represents an IdentifyTask, e.g. http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer. For more information on constructing a URL, see Using the ArcGIS Services Directory.
See also
| Property | Defined by | ||
|---|---|---|---|
![]() | concurrency : String = "multiple"
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 : Array
The last result of the execute function.
| IdentifyTask | ||
![]() | proxyURL : String
The URL to proxy the request through.
| BaseTask | |
![]() | requestTimeout : Number = -1
The request timeout in seconds.
| BaseTask | |
![]() | showBusyCursor : Boolean = false
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 | ||
|---|---|---|---|
|
IdentifyTask(url:String = null)
Creates a new IdentifyTask object.
| IdentifyTask | ||
|
execute(identifyParameters:IdentifyParameters, responder:IResponder = null):AsyncToken
Sends a request to the ArcGIS REST map service resource to identify features
based on the IdentifyParameters specified in the identifyParameters argument.
| IdentifyTask | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Dispatched when an IdentifyTask fails. | IdentifyTask | |||
| Dispatched on success. | IdentifyTask | |||
| executeLastResult | property |
public var executeLastResult:ArrayThe last result of the execute function.
This property can be used as the source for data binding.
See also
| IdentifyTask | () | constructor |
public function IdentifyTask(url:String = null)Creates a new IdentifyTask object.
Parametersurl:String (default = null) — [optional] URL to the ArcGIS Server REST resource that represents a map layer.
|
| execute | () | method |
public function execute(identifyParameters:IdentifyParameters, responder:IResponder = null):AsyncTokenSends a request to the ArcGIS REST map service resource to identify features based on the IdentifyParameters specified in the identifyParameters argument. On completion, the identifyComplete event is fired and the optional responder is called.
ParametersidentifyParameters:IdentifyParameters — The criteria used to identify the features.
|
|
responder:IResponder (default = null) — The responder to call on result or fault.
|
AsyncToken |
| fault | event |
| identifyComplete | event |
com.esri.ags.events.IdentifyEvent
com.esri.ags.events.IdentifyEvent.IDENTIFY_COMPLETE
Dispatched on success.
Defines the value of the type property of an identifyComplete event object.