<p>Hi<br> <br>I connect to a tilecache and this will need to deploy at OverviewMap. For some reason I get an error(resolution error) in the "OverviewMap" and shows the pink tile<br> <br>Error:<br>An error occurred: can't find resolution index for 0.000146. Available resolutions are: <br>
[0.703125, 0.3515625, 0.17578125, 0.087890625, 0.0439453125, 0.02197265625, 0.010986328125, 0.0054931640625, 0.00274658203125, 0.001373291015625, 0.0006866455078125, 0.00034332275390625, 0.000171661376953125, 8.58306884765625e-005, 4.291534423828125e-005, 2.1457672119140625e-005, 1.0728836059570313e-005, 5.3644180297851563e-006, 2.6822090148925781e-006, 1.3411045074462891e-006]</p>
<div>my code: </div>
<div> </div>
<div>var mapOptions = { restrictedExtent:new OpenLayers.Bounds(-113.5546875,-72.421875,-25.6640625,-2.109375,2), units: "dd", numZoomLevels:20};<br>map = new OpenLayers.Map('map',mapOptions); </div>
<div>layer3 = new OpenLayers.Layer.WMS( "OpenLayers WMS", "<a href="http://localhost/tilecache/tilecache.cgi">http://localhost/tilecache/tilecache.cgi</a>", {layers: 'ivregion_d02',transitionEffect: 'resize',format: 'png'} );<br>
map.addLayer(layer3);</div>
<div>map.addControl(new OpenLayers.Control.MousePosition());</div>
<div>map.setCenter(new OpenLayers.LonLat(-71.256437, -29.902194), 17);</div>
<div>if (!map.getCenter()) map.zoomToMaxExtent(); <br>var overview2 = new OpenLayers.Control.OverviewMap(); </div>
<div>map.addControl(overview2);</div>
<div> </div>
<div> </div>
<div>if somebody can help me?</div>
<div> </div>
<div>RG</div>