I have the same problem. When having another (first) baselayer as metacarta, the OverviewMap() stays blue, with a little red square in the upper ledt-corner. In addition the mouse-defaults get messed up (mouse keeps dragging, also after releasing left mouse-button). I will try defining a (clone) baselayer for overviewmap, but should default not just work?
<br><br>This is my script:<br><br><pre id="line15">&lt;<span class="start-tag">div</span><span class="attribute-name"> style</span>=<span class="attribute-value">&quot;width:100%; height:100%; &quot; </span><span class="attribute-name">
id</span>=<span class="attribute-value">&quot;map&quot;</span>&gt;&lt;/<span class="end-tag">div</span>&gt;<br>&lt;<span class="start-tag">script</span><span class="attribute-name"> defer</span>=<span class="attribute-value">
&quot;defer&quot; </span><span class="attribute-name">type</span>=<span class="attribute-value">&quot;text/javascript&quot;</span>&gt;<br>var map = new OpenLayers.Map(&#39;map&#39;, { controls: [] });<br>var google = new 
OpenLayers.Layer.Google(&quot;Google Map&quot;);<br>map.addLayers([google]);<br>var metacarta = new OpenLayers.Layer.WMS(&quot;Metacarta&quot;, &quot;<a href="http://labs.metacarta.com/wms/vmap0">http://labs.metacarta.com/wms/vmap0
</a>&quot;, {layers: &#39;basic&#39;});<br>map.addLayers([metacarta]);<br>map.addControl(new OpenLayers.Control.MouseDefaults());map.addControl(new OpenLayers.Control.PanZoom());map.addControl(new OpenLayers.Control.MouseToolbar
());map.addControl(new OpenLayers.Control.LayerSwitcher());map.addControl(new OpenLayers.Control.Permalink());map.addControl(new OpenLayers.Control.OverviewMap());map.addControl(new OpenLayers.Control.MousePosition());map.addControl(new 
OpenLayers.Control.Scale());var Other = new OpenLayers.Layer.Text(&quot;Other&quot;, { location:&quot;<a href="http://localhost/wikimap/wp-content/plugins/wikimap/markers.txt.php?Overlay=Other">http://localhost/wikimap/wp-content/plugins/wikimap/markers.txt.php?Overlay=Other
</a>&quot;});<br>map.addLayers([Other]);<br>var statensingel = new OpenLayers.Layer.Text(&quot;statensingel&quot;, { location:&quot;<a href="http://localhost/wikimap/wp-content/plugins/wikimap/markers.txt.php?Overlay=statensingel">
http://localhost/wikimap/wp-content/plugins/wikimap/markers.txt.php?Overlay=statensingel</a>&quot;});<br>map.addLayers([statensingel]);<br>var markers = new OpenLayers.Layer.Markers(&quot;Add locations&quot;);<br>map.addLayers
([markers]);<br>map.events.register(&quot;click&quot;, map, function(e) {<br>      markers.addMarker(new OpenLayers.Marker(this.getLonLatFromPixel(e.xy)));<br>        var lonlat= map.getLonLatFromPixel(e.xy);<br>        var cornerpixel = new 
OpenLayers.Pixel(50,30);         <br>        var lonlat_corner = map.getLonLatFromPixel(cornerpixel);<br>        <br>        var map_size = map.getSize();<br>        var m_width = map_size.w;<br>        var p_width = m_width - 75;<br>        if (p_width &gt; 800) { var p_width = 800; }
<br>        var i_width = p_width - 15;<br>        <br>        var m_height = map_size.h;<br>        var p_height = m_height - 35;<br>        if (p_height &gt; 600) { var p_height = 600; }<br>        var i_height = p_height - 40;<br>        <br><br>var pop_html = &quot;&lt;div style=&#39;font-size:15px; font-weight: strong;&#39;&gt;Add a location to the map&lt;/div&gt;&lt;iframe width=&#39;&quot; + i_width + &quot;px&#39; height=&#39;&quot; + i_height + &quot;px&#39; src=&#39;wp-admin/post.php?Lat=&quot;+ 
lonlat.lat + &quot;&amp;&amp;Lon=&quot; + lonlat.lon + &quot;&amp;Overlay=Other&#39; &gt;&lt;/iframe&gt;&quot;;<br><br><br>            popup = new OpenLayers.Popup(&quot;add a marker at this location&quot;, <br>                                         new 
OpenLayers.LonLat(lonlat_corner.lon,lonlat_corner.lat),<br>                                         new OpenLayers.Size(p_width,p_height),<br>                                         pop_html,<br>                                         true);
<br>        <br>            map.addPopup(popup);<br>                   <br><br><br><br><br>    });<br>map.setCenter(new OpenLayers.LonLat(5.69083213, 50.84960511), 15);<br>if (!map.getCenter()) map.zoomToMaxExtent();&lt;/<span class="end-tag">
script</span>&gt;</pre><br><br><div><span class="gmail_quote">On 1/5/07, <b class="gmail_sendername">Tim Schaub</b> &lt;<a href="mailto:noreply@geocartic.com">noreply@geocartic.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;">






<div vlink="purple" link="blue" lang="DE"><span class="q">
<div dir="ltr" align="left"><font face="Trebuchet MS"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB"></span></font>&nbsp;</div>
<blockquote dir="ltr" style="border-left: 2px solid rgb(0, 0, 0); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div>
  <p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">If I switch the two layers and 
  have my own wms layer as the base layer and the above mentioned as overlay – 
  the overlay map doesn&#39;t work anymore.</span></font></p>
  <p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">Any help on 
  that?</span></font></p>
  <p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="EN-GB">&nbsp;</span></font></p>
  <p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">-Hans<font face="Trebuchet MS"><font size="2"><span>&nbsp;</span></font></font></span></font></p></div></blockquote></span>
<p dir="ltr"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><font face="Trebuchet MS"><font size="2"><span>&nbsp;Can you post a concise example that shows the 
problem?&nbsp; The overview map should work as any other map - with multiple 
layers if that&#39;s what you want.</span></font></font></span></font></p>
<p dir="ltr"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><font face="Trebuchet MS"><font size="2"><span></span></font></font></span></font>&nbsp;</p>
<p dir="ltr"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><font face="Trebuchet MS"><font size="2"><span>Tim</span></font></font></span></font></p>
<p dir="ltr"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><font face="Trebuchet MS"><font size="2"><span></span></font></font></span></font>&nbsp;</p></div>

<br>_______________________________________________<br>Users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Users@openlayers.org">Users@openlayers.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://openlayers.org/mailman/listinfo/users" target="_blank">
http://openlayers.org/mailman/listinfo/users</a><br><br><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>