Hello dear sir,<br>   I have a problem to consult you. I make a TMS demo, restrict the map to a specific bound, and use a maxResolution. My codes are as follows. But it display &quot;lack of image&quot;(some 256*256 red box with a cross) in the region where there are out of the bound. How to control it, and do not let it display &quot;lack of image&quot;? Using the parameter &quot;maxResolution&quot;? How to calculate the value of the &quot;maxResolution&quot; of a TMS layer? Thank you very much!<br><br>var bounds = new OpenLayers.Bounds(103.944322120274,30.633607944233,104.154306379013,30.8435922029719);<br>                ......         <br>                        var map_options={<br>                         controls:[new OpenLayers.Control.MouseDefaults()]<br>                        ,'maxExtent': bounds<br>                         ,'projection': 'EPSG:4326'<br>                        ,numZoomLevels:  3<br>                        ,maxResolution:0.00082025101069921875  <br>                        ,units: &quot;degrees&quot;<br>                        <br>                        };<br><br>            map = new OpenLayers.Map( 'map' , map_options );<br><br>            var tms_options={<br>                        <br>                        layername: 'basic'<br>                        , type:'jpg'<br>                        ,'maxExtent': bounds<br>                        ,displayOutsideMaxExtent: false<br>           <br>                        };<br>                        <br>                        layer = new OpenLayers.Layer.TMS( &quot;TMS&quot;, <br>                    &quot;http://localhost:8080/functions/&quot;, tms_options );<br>              ......<br><!-- footer --><br> 
<hr>
<font style="font-size:12px;line-height:15px;">欧逸丽庭超值特价房仅限9席,5550元起。</font><a style="font-size:12px;line-height:15px; color:blue; text-decoration:underline;" href="http://popme.163.com/link/003982_0411_721.html">010-61598313</a>