Thanks, that works great. I am able to use the query.where option and zoom to a specific state. I wanted to ask you a follow up question though regarding using multiple query tasks. Right now I am querying a state polygon layer we have on our GIS Server. However, in addition to that state polygon layer I also want to query an incident layer we have and show the incidents layer on top of the state layer. so for example show incidents and state = "Maryland".
I guess my question is in regards to how should I do structure the code to handle multiple query tasks. Do I try and create two onComplete events, one for each query task and go from there?
Thanks again for your recommendation,