<div>Hello all...</div><div> </div><div>I have a system working fine with GeoExt 0.6 (or maybe 0.7) ... This week I updated to lastest version of GeoExt and my Sublayers are not working fine...</div><div>Sometimes just one of then appear on MAP(and legend), other times when I deselect one in Tree, all of then are deselected automatically...</div>
<div> </div><div>Did anything change on newest version?</div><div> </div><div>My revelant code:</div><div> </div><div> var _layer1 = new OpenLayers.Layer.WMS("Layer1", _mapfile, {<br> "LAYERS": ['l1', 'l2', 'l3'],<br>
transparent: false,<br> format: "image/png"<br> }, {<br> isBaseLayer: false,<br> tileSize: new OpenLayers.Size(400, 400),<br> buffer: 0,<br> visibility: false<br> });</div>
<div> </div><font size="2"><p>map.addLayers([layer1]); </p><div> var myLayerStore = new GeoExt.data.LayerStore({<br> map: map<br> });</div><div> </div><div>My tree</div><div>...</div><div> text: "Layer1",<br>
expanded: true,<br> children: [{<br> nodeType: "gx_layerparam",<br> layer: "Layer1",<br>
param: "LAYERS",<br> item: "l1",<br> text: "layer 1",<br> checked: false <br>
}, {<br> nodeType: "gx_layerparam",<br> layer: "Layer2",<br> param: "LAYERS",<br>
item: "l2",<br> text: "layer 2",<br> checked: false <br> }, {<br>
nodeType: "gx_layerparam",<br> layer: "Layer3",<br> param: "LAYERS",<br> item: "l3",<br>
text: "layer 3",<br> checked: false<br> }<br> </div></font><div></div>