I'm adding a graphic(polygon) to the map and then I query the layers within the extent of the graphic. In my interface, users can turn layers on and off. What I'm trying to do is re-run the queries when the user turns layers off or additional layers are turned on AFTER a graphic was already added. I'm thinking that if I find the graphic that was added and get its extent, then I can re-query the layers within that extent.
Thanks in advance for your help!!