As I said before, I had the same problem as you, Hans. I solved it by replacing:<br><pre id="line15">map.addControl(new OpenLayers.Control.OverviewMap()); </pre><span>with:<br></span>
<br><pre id="line15">var ov = new OpenLayers.Layer.WMS( &quot;OpenLayers WMS&quot;, <br>        &quot;<a href="http://labs.metacarta.com/wms/vmap0">http://labs.metacarta.com/wms/vmap0</a>&quot;, {layers: &#39;basic&#39;} );
<br>var options = {<br>      layers: [ov.clone()],<br>      minRatio: 8,<br>      maxRatio: 128<br>    };<br>map.addControl(new OpenLayers.Control.OverviewMap(options));<br><br></pre><span>as Christian López Espínola suggested. I still don&#39;t understand why the default doesn&#39;t work. Maybe this should be changed? Now it only works for people who really understand what they are doing, and not for technical-lego kids like me :-).
<br><br>Thanks for the help!<br></span><br><br><div><span class="gmail_quote">On 1/8/07, <b class="gmail_sendername">Christian López Espínola</b> &lt;<a href="mailto:penyaskito@gmail.com">penyaskito@gmail.com</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;">Maybe you are using the SAME layer in the map and in the overviewmap,<br>and this make you have this headaches. Try adding the overview map a
<br>layer.clone().<br><br>Hope this helps.<br><br>On 1/5/07, Tim Schaub &lt;<a href="mailto:noreply@geocartic.com">noreply@geocartic.com</a>&gt; wrote:<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; If I switch the two layers and have my own wms layer as the base layer and
<br>&gt; the above mentioned as overlay – the overlay map doesn&#39;t work anymore.<br>&gt;<br>&gt; Any help on that?<br>&gt;<br>&gt;<br>&gt;<br>&gt; -Hans<br>&gt;<br>&gt;&nbsp;&nbsp;Can you post a concise example that shows the problem?&nbsp;&nbsp;The overview map
<br>&gt; should work as any other map - with multiple layers if that&#39;s what you want.<br>&gt;<br>&gt;<br>&gt;<br>&gt; Tim<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Users mailing list
<br>&gt; <a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br>&gt; <a href="http://openlayers.org/mailman/listinfo/users">http://openlayers.org/mailman/listinfo/users</a><br>&gt;<br>&gt;<br>&gt;<br><br><br>--
<br>Regards,<br><br>Christian López Espínola<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><br clear="all"><br>-- <br>Robert Buzink, website ontwerp en ontwikkeling<br>Sint-Pietersaalststraat 123<br>9000 Gent<br>+32 (0)9 33 00 267<br>+32 (0)487 548 414
<br><a href="mailto:post@robertbuzink.nl">post@robertbuzink.nl</a><br><a href="http://robertbuzink.nl/webdesign">robertbuzink.nl/webdesign</a>