Thanks Bart...<br><br>I´ll wait for that!<br><br>Paul<br><br><div class="gmail_quote">On Thu, Feb 18, 2010 at 10:18 AM, <span dir="ltr"><<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Paul,<br>
<br>
that's a bug in WMSLegend. See:<br>
<br>
<a href="http://trac.geoext.org/ticket/226#preview" target="_blank">http://trac.geoext.org/ticket/226#preview</a><br>
<br>
for details, still needs to be fixed though.<br>
<br>
Best regards,<br>
Bart<br>
<div><div></div><div class="h5"><br>
> Andreas, today I noticed one wrong thing with that implementation...<br>
> My GeoExt.LegendPanel is not showing the item anymore... Is that a<br>
> solution<br>
> to that?<br>
><br>
> Thanks<br>
><br>
> Paul<br>
><br>
> On Tue, Feb 9, 2010 at 4:46 PM, Paul james <<a href="mailto:pauljame@gmail.com">pauljame@gmail.com</a>> wrote:<br>
><br>
>> Thats It Andreas!<br>
>> Thanks...<br>
>><br>
>> Paul<br>
>><br>
>> On Tue, Feb 9, 2010 at 4:37 PM, Andreas Hocevar<br>
>> <<a href="mailto:ahocevar@opengeo.org">ahocevar@opengeo.org</a>>wrote:<br>
>><br>
>>> Paul james wrote:<br>
>>><br>
>>>> Hello guys...<br>
>>>> Is it possible to associate 2 layers in a single Treeview Item ?<br>
>>>><br>
>>><br>
>>> You mean you want e.g. l1,l2 in one sub-item and l3,l4 in another? Here<br>
>>> you go:<br>
>>><br>
>>><br>
>>> Example: I have that layer (using SUBLAYERS)<br>
>>>> var _test = new OpenLayers.Layer.WMS("TEST",<br>
>>>> _mapfile, {<br>
>>>> "LAYERS":<br>
>>>> ['l1', 'l2', 'l3', 'l4'],<br>
>>>><br>
>>><br>
>>> Replace the above line with:<br>
>>><br>
>>><br>
>>> "LAYERS": ['l1,l2', 'l3,l4'],<br>
>>><br>
>>> transparent: true,<br>
>>>> format: "image/png"<br>
>>>> }, {<br>
>>>> isBaseLayer: false,<br>
>>>> buffer: 0,<br>
>>>> visibility: true<br>
>>>> });<br>
>>>> My treeview:<br>
>>>> ...<br>
>>>> text: "TEST", expanded: true,<br>
>>>> children: [<br>
>>>> {<br>
>>>> nodeType: "gx_layerparam",<br>
>>>> layer: "TEST",<br>
>>>> param: "LAYERS",<br>
>>>> item: "l1",<br>
>>>><br>
>>><br>
>>> item: "l1,l2",<br>
>>><br>
>>><br>
>>> text: "test layer",<br>
>>>> checked: true,<br>
>>>> uiProvider: ...<br>
>>>> }<br>
>>>> ...<br>
>>>><br>
>>>><br>
>>><br>
>>> Regards,<br>
>>> Andreas.<br>
>>><br>
>>> --<br>
>>> Andreas Hocevar<br>
>>> OpenGeo - <a href="http://opengeo.org/" target="_blank">http://opengeo.org/</a><br>
>>> Expert service straight from the developers.<br>
>>><br>
>>><br>
>><br>
</div></div>> _______________________________________________<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>