Hi all,<div><br></div><div>I&#39;ve added the default overview map and I&#39;m getting some strange behavior. First, it only targets the first baselayer (i.e. when I switch between a NASA layer, and the Metacarta WMS it stays on the NASA layer. Also, it appears to be very zoomed in and pixelated (Landsatt 7 layer), whereas I&#39;d like it so simply show the bounding box of the current map&#39;s extents. Does anyone know why 1) it&#39;s only targeting the top-most baselayer, and 2) how to set the overview map to display the bounds of the map?</div>
<div><br></div><div>Thanks in advance! code for the map is below</div><div><div>map = new OpenLayers.Map (&quot;map&quot;, </div><div><span class="Apple-tab-span" style="white-space:pre">                </span>{</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>controls:[</div>
<div><span class="Apple-tab-span" style="white-space:pre">                        </span>new OpenLayers.Control.Navigation(),</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>new OpenLayers.Control.PanZoomBar(),</div><div>
<span class="Apple-tab-span" style="white-space:pre">                        </span>new OpenLayers.Control.LayerSwitcher(),</div><div><span class="Apple-tab-span" style="white-space:pre">                        </span>new OpenLayers.Control.OverviewMap()],</div><div>
  <span class="Apple-tab-span" style="white-space:pre">                </span>sphericalMercator: true,</div><div>  <span class="Apple-tab-span" style="white-space:pre">                </span>maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),</div>
<div>  <span class="Apple-tab-span" style="white-space:pre">                </span>maxResolution: 156543.0399,</div><div>  <span class="Apple-tab-span" style="white-space:pre">                </span>numZoomLevels: 19,</div><div>  <span class="Apple-tab-span" style="white-space:pre">                </span>units: &#39;m&#39;,</div>
<div>  <span class="Apple-tab-span" style="white-space:pre">                </span>projection: new OpenLayers.Projection(&quot;EPSG:900913&quot;),</div><div>  <span class="Apple-tab-span" style="white-space:pre">                </span>displayProjection: new OpenLayers.Projection(&quot;EPSG:4326&quot;)</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>}</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>);</div>-- <br>Nicholas Efremov-Kendall<br>Fulbright Student 2009-2010, Ukraine<br>
<a href="mailto:nefremov@artsci.wustl.edu">nefremov@artsci.wustl.edu</a><br>c/o Halyna Yerko<br>Balzaka 92a, Kv 27<br>02232<br>Kyiv, Ukraine<br>(mob) +380963576524<br>
</div>