Try play around with parameter values in your OverviewMap, example:<br><br>var layer = new OpenLayers.Layer.WMS( &quot;Malaysia&quot;,<br>                &quot;/tc/tilecache.cgi?&quot;,<br>                {layers: &#39;basemap&#39;, format: &#39;image/png&#39; }<br>
                );<br>var ov = new OpenLayers.Control.OverviewMap({minRatio: 16, mapOptions: {maxResolution: 0.02197265625, minResolution: 0.0000858306884765625}, layers:[layer]});<br><br><div class="gmail_quote">2009/11/12 Quim Rifà <span dir="ltr">&lt;<a href="mailto:rifins@gmail.com">rifins@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<div><br></div><div>I&#39;m new here.. So this is my first post to the list.. And I would like to know how can I put the overview map. Well, by now I&#39;m adding an overviewmap, but the zoom of the overview is the maximum zoom of the map.. I mean the overview has more detail than the main map.</div>

<div><br></div><div>This is my code:</div><div><br></div><div><div>var map;</div><div>var options;</div><div><br></div><div>function init() {</div><div>    options = {</div><div>        &#39;projection&#39;: &quot;EPSG:23031&quot;,</div>

<div>        &#39;SRS&#39;: &quot;EPSG:23031&quot;,</div><div>        &#39;units&#39;:&#39;meters&#39;,</div><div>        &#39;maxExtent&#39;: new OpenLayers.Bounds(258000, 4485000, 536000, 4752000)</div><div>    };    </div>

<div>    </div><div>  <span style="white-space: pre;">        </span>var lyrTest= new OpenLayers.Layer.WMS(&quot;mtc50&quot;, &quot;<a href="http://shagrat.icc.es/lizardtech/iserv/ows" target="_blank">http://shagrat.icc.es/lizardtech/iserv/ows</a>?&quot;,</div>

<div>        { layers: &#39;mtc50m&#39;,</div><div>            &#39;service&#39;: &quot;WMS&quot;,</div><div>            &#39;version&#39;: &quot;1.1.1&quot;,</div><div>            &#39;srs&#39;: &quot;EPSG:23031&quot;,</div>

<div>            &#39;request&#39;: &quot;GetMap&quot;,</div><div>            &#39;exception&#39;: &quot;INIMAGE&quot;,</div><div>            &#39;format&#39;: &quot;image/png&quot;</div><div>        }, { isBaseLayer: true });</div>

<div>        </div><div>   map = new OpenLayers.Map(&#39;map&#39;, options);</div><div>   map.resolutions = [1100, 550, 275, 100, 50, 25, 10, 5, 2, 1, 0.5]; </div><div>   map.addLayer(lyrTest.clone());</div><div>   map.zoomToMaxExtent();</div>

<div>   map.addControl(new OpenLayers.Control.Navigation());</div><div>   map.addControl(new OpenLayers.Control.MousePosition());</div><div>   map.addControl(new OpenLayers.Control.OverviewMap());</div><div>}</div><div><br>

</div><div>Thanks!!</div></div><div><br></div><div><br></div>
<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" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br>
<br></blockquote></div><br>