GraphicsLayer issues

Discussion created by samirgambhir on Sep 23, 2011
Latest reply on Oct 12, 2011 by samirgambhir
I am developing an application using ArcGIS Server 10 with JavaScript API. I am running into some issues with displaying GraphicsLayer on the map. I am trying to add a GraphicsLayer based on a query to an existing layer. The query adds the GraphicsLayer on the map and renders it based on the renderer assigned. Once displayed, clicking a features open up an infoWindow to display the query results. I have the following three issues:
1. Once I select the indicator, the layer should show up. But in my case it shows up only when I zoom in or out of the current extent.
2. Option "None" does not remove the layer from the map
3. Option "All" does not show up all the three indicators.
My code is attached as a text file. I'll really appreciate it if somebody can help.