<font size="2">I believe that there is a maximizeControl() method for the LayerSwitcher() control.  <br><br>Try something like:<br><br>var layer_switcher = new OpenLayers.Control.LayerSwitcher();<br>map.addControl(layer_switcher);
<br>layer_switcher.maximizeControl();<br><br>David.<br></font><br><br><div><span class="gmail_quote">On 8/7/07, <b class="gmail_sendername">Marc Desharnais</b> &lt;<a href="mailto:marc.desharnais@ec.gc.ca">marc.desharnais@ec.gc.ca
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi all,<br><br>Thanks Gregor for your answer. I know how to add a selection panel to a
<br>map. The question i s really about showing the panel by default.<br>I want the panel to be shown by default without having to click on the<br>&quot;+&quot; in the corner to display it.<br><br>It&#39;s a matter of showing the options of the map for the average user
<br>that is new to geomatic and won&#39;t click on anything to try to see what<br>it does.<br>So I want to show the options available by default.<br><br>regards :)<br><br>Marc<br><br><br><br>Gregor Mosheh wrote:<br>&gt; Marc Desharnais wrote:
<br>&gt;&gt; I was wondering if it&#39;s possible to unhide the panels on the side of<br>&gt;&gt; the map. Like the selection panel where you pick the base layer and<br>&gt;&gt; the overlay that you want.<br>&gt;<br>&gt; To show them, you add the control to your map&#39;s constructor.
<br>&gt; Example:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;var controls = [new OpenLayers.Control.LayerSwitcher()];<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;var map = new OpenLayers.Map(&#39;map&#39;,{&#39;controls&#39;:controls});<br>&gt;<br>&gt; The documentation also mentions a addControl() method, 
e.g.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;map.addControl( new OpenLayers.Control.LayerSwitcher() );<br>&gt;<br>&gt; That method may or may not be in the version you downloaded; this<br>&gt; stuff changes quickly and sometimes the doc mentions features that are
<br>&gt; only in the Subversion version, not in 2.4 release.<br>&gt;<br><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/users">
http://openlayers.org/mailman/listinfo/users</a><br></blockquote></div><br>