Ah thanks to you both!<br><br>I forgot that WMS layer is based on the grid one, just knew it had to be a simple setting somewhere. <br><br>BTW the new documentation (I think its new in the past few days?) is a huge improvement :)
<br><br>(also sorry Chris for the duplicate email, another newbie error :(<br><br><div><span class="gmail_quote">On 7/29/07, <b class="gmail_sendername">Christopher Schmidt</b> <<a href="mailto:crschmidt@metacarta.com">
crschmidt@metacarta.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Sun, Jul 29, 2007 at 08:18:11PM +0100, Barry Hunter wrote:
<br>> This is almost certainly a very simple question, and I sure I saw something<br>> mentioning this somewhere, but darned if can find it now...<br>><br>> Anyway I have created a custom layer, which is based on the WMS layer - it
<br>> all works great and displays fine. However many more tiles than are needed<br>> are fetched, this is understandable its 'precaching' tiles so that the user<br>> can drag in any direction quickly.<br>
><br>> For example only 24 tiles are needed to fill the whole screen (including<br>> part tiles) - however 52 tiles are retrieved, this is a bit overkill, I<br>> would be happy with the user having to wait a bit rather than download that
<br>> many tiles unneeded. I guess there is simple setting to adjust this?<br><br><a href="http://dev.openlayers.org/docs/files/OpenLayers/Layer/Grid-js.html#OpenLayers.Layer.Grid.buffer">http://dev.openlayers.org/docs/files/OpenLayers/Layer/Grid-js.html#OpenLayers.Layer.Grid.buffer
</a><br><br>WMS('a', 'url', {'params':'here'}, {buffer: 0})<br><br>-- Chris<br></blockquote></div><br><br clear="all"><br>-- <br>Barry<br><br>- <a href="http://www.nearby.org.uk">www.nearby.org.uk
</a> - <a href="http://www.geograph.org.uk">www.geograph.org.uk</a> -