Hi,<div><br></div><div>I'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'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> 'projection': "EPSG:23031",</div>
<div> 'SRS': "EPSG:23031",</div><div> 'units':'meters',</div><div> 'maxExtent': new OpenLayers.Bounds(258000, 4485000, 536000, 4752000)</div><div> }; </div>
<div> </div><div> <span class="Apple-tab-span" style="white-space:pre">        </span>var lyrTest= new OpenLayers.Layer.WMS("mtc50", "<a href="http://shagrat.icc.es/lizardtech/iserv/ows">http://shagrat.icc.es/lizardtech/iserv/ows</a>?",</div>
<div> { layers: 'mtc50m',</div><div> 'service': "WMS",</div><div> 'version': "1.1.1",</div><div> 'srs': "EPSG:23031",</div>
<div> 'request': "GetMap",</div><div> 'exception': "INIMAGE",</div><div> 'format': "image/png"</div><div> }, { isBaseLayer: true });</div>
<div> </div><div> map = new OpenLayers.Map('map', 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>