Hello Eric,<br><br>Thank you very much for the info. I managed to find something close to what I wanted.<br><a href="http://dev.openlayers.org/sandbox/jachym/openlayers/examples/layer-groups.html">http://dev.openlayers.org/sandbox/jachym/openlayers/examples/layer-groups.html</a><br>
<br>However I still need the layers to be collapsible, and Mapfish would be a better choice.<br><br>Thank you,<br><br>Regards,<br>Indika<br><br><div class="gmail_quote">2008/6/23 Eric Lemoine &lt;<a href="mailto:eric.c2c@gmail.com">eric.c2c@gmail.com</a>&gt;:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Thu, Jun 19, 2008 at 7:50 AM, Indika Tantrigoda &lt;<a href="mailto:indika85@gmail.com">indika85@gmail.com</a>&gt; wrote:<br>

&gt; Hello,<br>
<br>
Hello Indika<br>
<div class="Ih2E3d"><br>
&gt; I&#39;d like to know, if theres anyway that I can group layers into a hierarchy.<br>
<br>
</div>OpenLayers&#39; layer switcher does not support layer hierarchy and will<br>
probably never do. I&#39;d recommend checking out the layer tree of<br>
MapFish (<a href="http://www.mapfish.org" target="_blank">http://www.mapfish.org</a>). MapFish layer tree is either<br>
auto-configured based on the layers configured in OpenLayers or<br>
configured through a user-specified model. See<br>
&lt;<a href="http://demo.mapfish.org/mapfishsample/trunk/examples/tree/tree_automatic.html" target="_blank">http://demo.mapfish.org/mapfishsample/trunk/examples/tree/tree_automatic.html</a>&gt;<br>
for a basic example.<br>
<br>
Cheers,<br>
<br>
--<br>
<font color="#888888">Eric<br>
</font></blockquote></div><br>