When I open your page, map2 is giving me a different max extent. <br>
If you want to display exactly the maxextent and nothing else, then<br>
you&#39;re right to set the maxextent and ratio as you&#39;ve done, but you&#39;ll<br>
also have to set the dimensions of the map div itself to be the same<br>
as those of your maxextent. This is not the case right now. <br>
<br>
The ratio parameter for the untiled layer is relative to the size of the <br>
map. <br>
<br>
erik<br><br><div><span class="gmail_quote">On 4/24/07, <b class="gmail_sendername">Ed Fialkowski</b> &lt;<a href="mailto:edfialk@gmail.com">edfialk@gmail.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;">
I just noticed the ratio field and was about to mention that.<br><br>It seems there is still a bit of a buffer for me though.<br><br>Here&#39;s what I do:<br><br>var bbox = new OpenLayers.Bounds(-145,25,-25,75);<br>map2
= new OpenLayers.Map(&#39;map2&#39;, {maxExtent: bbox, controls: [new
OpenLayers.Control.PanZoom(), new OpenLayers.Control.MouseToolbar(new
OpenLayers.Pixel(6,150))] });<br><br>var wms2 = new OpenLayers.Layer.WMS.Untiled( &quot;Borders&quot;, bdr_url, {layers: &#39;OpenLayers&#39;, format:&quot;image/png&quot;});
<br>wms2.ratio = 1;&nbsp;&nbsp;&nbsp;&nbsp; <br>map2.addLayer(wms2);<br><br>Then, when I view the image location, the bbox is: -162.5,10.029297,-27.5,69.970703.<br><br>It&#39;s the same every time.<br>My site is at <a href="http://niceguy.wustl.edu/openlayers" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

http://niceguy.wustl.edu/openlayers</a>.&nbsp; It&#39;s a visual comparison tool for different emissions data.&nbsp; Ignore the big pink image if it&#39;s there. <br>The bottom two images should work where you can see the image request.
<br><br>Any ideas?<br><br><br><br>
</blockquote></div><br>