Example: Query Zoning Districts
Using ArcGIS Server Query tasks, you can perform attribute and spatial queries against
data layers in a map service that has been exposed.
Click anywhere on the map to run the query. You should see the highlighted zoning polygon there, similar to what you can see in the masthead graphic.