query buffer - points to polygon features

Discussion created by simon.miles.rbwm on Jul 22, 2011
I'm using the below sample and i want to change the queried results from points to polygons

Probably very simple but cant get my head around where to change it.

I tried replacing the queryTask to and changing the symbol style to reflect this but it didnt seem to make much difference. I'm sure that somewhere and i cant see where, i need to make reference to the fact that we are now querying polygon and not point data.