Thanks for the bug report, Bart. I&#39;ve filed a ticket.<br>
<br>
Erik<br><br><div><span class="gmail_quote">On 4/17/07, <b class="gmail_sendername">Bart van den Eijnden (OSGIS)</b> &lt;<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</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 list,<br><br>using 2.4RC1 I needed to make the following minor change (add the if<br>statement) to LayerSwitcher.js (in the draw function) to get it work in a<br>separate div:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(!this.outsideViewport) {
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.minimizeControl();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br><br>Best regards,<br>Bart<br><br>--<br>Bart van den Eijnden<br>OSGIS, Open Source GIS<br><a href="http://www.osgis.nl">http://www.osgis.nl</a><br><br><br><br><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>