Being able to identify features and find out information about them is a common requirement in web mapping applications. In this chapter we're going to cover two ArcGIS Server tasks related to returning feature attributes: IdentifyTask and FindTask.
IdentifyTask returns the attributes of features that have been clicked on a map. The attribute information is often presented in a pop-up window. As with the other tasks we have seen, the IdentifyTask object relies upon input parameters, in this case an object called IdentifyParameters that controls the results of the identify operation. These parameters include which layers in a service to use for the identify operation, and an acceptable distance from a feature for it to be considered as relevant to the map click location. An instance of IdentifyResult is used to hold the results of the...