I've got an app where I'm currently using the IdentifyTask to allow the user to click the map and get info about features. They would like to add functionality to add on a buffer radius to the features that were the target of the Identify and get all features either completely within or completely within/intersecting the buffer boundary.
I started going down the path of taking the features that were within the Identify tolerance, buffering those, then running a queryTask back on that layer with the resulting buffer. However, the app in it's current state relies heavily on the "displayField" defined in the MXD being returned in the identifyResult and displayed to the user. QueryTasks do not return DisplayField values in the results. So that's a Fail.
Then I moved over to trying out the IdentifyTask against the buffer polygon geometry but that doesn't support doing spatial relationship options, such as "completely within".
Do I need to tell my client that they can't have their cake and eat it too or will one of these two options (IdentifyTask or QueryTask) tackle both the bolded requirements above?
For the Flex API Devs... Would it be possible to add the DisplayField value to returned features of a QueryTask in future release of the API?