<div>Thanks bart...</div>
<div>But I need set all layers to build up my treeview, like that:</div>
<div> </div>
<div>nodeType: "gx_layer",<br> layer: "Streets",<br> isLeaf: false,<br> <br> loader: {<br> param: "LAYERS",</div>
<div>...</div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Wed, Oct 14, 2009 at 11:16 AM, <span dir="ltr"><<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi Paul,<br><br>only by using LAYERS: ['layer1', 'layer2'].<br><br>Then later on, when you need more layers, you should change the LAYERS<br>
param using the mergeNewParams function.<br><br>Best regards,<br>Bart<br>
<div class="im"><br>> Hello guys... I have that set of sublayers :<br>><br>> new OpenLayers.Layer.MapServer("Streets",<br>> _cgi, {<br>> map: _mapfile,<br>> "LAYERS": ['Layer1','Layer2','Layer3','Layer4',<br>
> 'Layer5'],<br>> transparent: true,<br>> format: "image/png"<br>> }, {<br>> isBaseLayer: false,<br>> buffer: 0,<br>
> displayInLayerSwitcher: false,<br>> visibility: false<br>> })<br>><br></div>> I悲 like to start with Layer1 and Layer2 with visibility true ... How can<br>
> I<br>> do that?<br>><br>> Paul<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><br><br></blockquote></div><br>