Yes, but I´d like to implement that functionality ... But I dont know how start...<br><br><br><div class="gmail_quote">On Wed, Jul 1, 2009 at 4:38 PM, Christopher Schmidt <span dir="ltr"><<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</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;"><div class="im">On Wed, Jul 01, 2009 at 04:19:10PM -0300, Paul james wrote:<br>
> I´m trying to do something like that :<br>
> <a href="http://demo.mapfish.org/mapfishsample/1.1/examples/tree/tree_automatic.html" target="_blank">http://demo.mapfish.org/mapfishsample/1.1/examples/tree/tree_automatic.html</a><br>
><br>
> There is a layer :<br>
><br>
> c2cwmsLayers = ['parkings', 'summits', 'refuges', 'sites'];<br>
> c2cwms = new OpenLayers.Layer.WMS("C2C Objects",<br>
> "<a href="http://demo.mapfish.org/mapfishsample/1.1/wms" target="_blank">http://demo.mapfish.org/mapfishsample/1.1/wms</a>?",<br>
> {<br>
> singleTile: true,<br>
> layers: c2cwmsLayers,<br>
> format: 'image/png',<br>
> transparent: true<br>
> }<br>
> );<br>
><br>
> But using the treeview I can turn on/off : 'parkings', 'summits', 'refuges',<br>
> 'sites' Individually...<br>
<br>
</div>Yes, MapFish provides that functionality. Maybe you want to use MapFish?<br>
<br>
Regards,<br>
<font color="#888888">--<br>
Christopher Schmidt<br>
MetaCarta<br>
</font></blockquote></div><br>