Select to view content in your preferred language

query buffer - points to polygon features

696
0
07-22-2011 03:10 AM
simonmiles
Emerging Contributor
I'm using the below sample and i want to change the queried results from points to polygons

http://help.arcgis.com/en/webapi/javascript/arcgis/demos/query/query_buffer.html

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

I tried replacing the queryTask to  http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/1 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.
0 Kudos
0 Replies