<p>To achieve this, you have to use a style that uses opacity on the server side.</p>
<p>Andreas.</p>
<div class="gmail_quote">On Jun 21, 2012 7:56 PM, "julia paredes" <<a href="mailto:japr94@hotmail.com">japr94@hotmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">
<div>Hi all,</div><div><br></div><div>If I have a group layer definition such as the following :</div><div><br></div><div>var Test = new OpenLayers.Layer.WMS(</div><div> "Group Layer", mapserverUrl,</div>
<div> {</div><div> map: "C:/Users/Administrator/map.map",</div><div> layers: [</div><div> "First",</div><div> "Second",</div>
<div> "Third"</div><div> ],</div><div> format: "image/png",</div><div> transparent: "true"</div><div> <span style="font-size:10pt"> }</span></div>
<div> ,</div><div> { </div><div> isBaseLayer: false,</div><div> visibility: false,</div><div> opacity: opa</div><div> }</div>
<div> );</div><div><br></div><div>Is there a way I could change the opacity of just one of the layers belonging to the group layer?</div><div>Before adding a group layer I was using jquery to add a slider and a drop down menu to select a layer to change the opacity.</div>
<div>I am not sure if the layer opacity slider provided by GeoExt will make this easier or if there is a way to access a particular layer in the group layer by doing something like Test.layers[0]</div><div><br></div><div>
Any ideas?</div><div><br></div><div>Thanks in advance </div>                                            </div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@geoext.org">Users@geoext.org</a><br>
<a href="http://www.geoext.org/cgi-bin/mailman/listinfo/users" target="_blank">http://www.geoext.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>