<span class="ul-threaded" style="margin: 0.5em 0pt 0pt -20px;"><span class="text-cell">i
 am very new to the open layer.I am passing the state name from one aspx
 page to other to select the state what is required.I have a layer of 
state boundary.the state is getting selected but only the selected state
 is visible&gt;suppose if the ASSAM is passed then only it is visible 
rest all state are not visible.i want that assam should be highlighted 
with different color and get zoomed.But the other state should also be 
visible.
<br>PLEASE HELP
<br><br>String AnchorLink;
<br>            AnchorLink = &quot;&lt;&quot; + &quot;a href=map.aspx?state=&quot; + 
statename + &quot;&amp;year=&quot; + year + &quot;&amp;test=&quot;+test+&quot; 
 target=_blank&#39;&gt;VIEW MAP &quot;;
<br><br><br>function init()
<br>            {
<br>                // if this is just a coverage or a group of them, disable a few items,
<br>                // and default to jpeg format
<br>                format = &#39;image/png&#39;;
<br>                if(pureCoverage)
<br>                 {
<br>                    document.getElementById(&#39;filterType&#39;).disabled = true;
<br>                    document.getElementById(&#39;filter&#39;).disabled = true;
<br>                    document.getElementById(&#39;antialiasSelector&#39;).disabled = true;
<br>                    document.getElementById(&#39;updateFilterButton&#39;).disabled = true;
<br>                    document.getElementById(&#39;resetFilterButton&#39;).disabled = true;
<br>                    document.getElementById(&#39;jpeg&#39;).selected = true;
<br>                    format = &quot;image/jpeg&quot;;
<br>                }
<br>            
<br>                var bounds = new OpenLayers.Bounds(2811389.012, 2178366.382,5679309.37, 5443435.221);
<br>                var options = {controls: [], maxExtent: 
bounds,maxResolution: 12754.175152343749,projection: &quot;EPSG:4326&quot;,units: 
&#39;degrees&#39;};
<br>                map = new OpenLayers.Map(&#39;map&#39;, options);            
<br>                // setup tiled layer
<br>                tiled = new OpenLayers.Layer.WMS(&quot;state - Tiled&quot;, &quot;<a href="http://localhost:8080/geoserver/wms" target="_top" rel="nofollow">http://localhost:8080/geoserver/wms</a>&quot;,
<br>                {srs: &#39;EPSG:4326&#39;, width: &#39;449&#39;, styles: &#39;&#39;,height: 
&#39;512&#39;,layers: &#39;lulcstate:state&#39;,format: format,tiled: &#39;true&#39;,tilesOrigin
 : map.maxExtent.left + &#39;,&#39; + map.maxExtent.bottom},
<br>                { buffer: 0,isplayOutsideMaxExtent: true} 
<br>                
<br>                );
<br>            
<br>                // setup single tiled layer
<br>                untiled = new OpenLayers.Layer.WMS(
<br>                    &quot;state - Untiled&quot;, &quot;<a href="http://localhost:8080/geoserver/wms" target="_top" rel="nofollow">http://localhost:8080/geoserver/wms</a>&quot;,
<br>                    {
<br>                        srs: &#39;EPSG:4326&#39;,
<br>                        width: &#39;449&#39;,
<br>                        styles: &#39;&#39;,
<br>                        height: &#39;512&#39;,
<br>                        layers: &#39;lulcstate:state&#39;,
<br>                        format: format
<br>                    },
<br>                    {singleTile: true, ratio: 1} 
<br>                    
<br>                );
<br>        
<br>                map.addLayers([untiled, tiled]);
<br>        
<br>                var filterType = &#39;cql&#39;;
<br>                var filter = document.getElementById(&#39;textstate&#39;).value;
<br>                var filtervalue=&quot;STATE=&#39;&quot;+filter+&quot;&#39;&quot;;
<br>                alert(filtervalue);
<br>                
<br>                // by default, reset all filters                
<br>                var filterParams = {
<br>                    filter: null,
<br>                    cql_filter: null,
<br>                    featureId: null
<br>                };
<br>                if (OpenLayers.String.trim(filter) != &quot;&quot;) {
<br>                    if (filterType == &quot;cql&quot;) 
<br>                        filterParams[&quot;cql_filter&quot;] = filtervalue;    
<br>                  
<br>                }
<br>                // merge the new filter definitions
<br>                mergeNewParams(filterParams);
        
                
        
</span></span>