Ah thanks to you both! I forgot that WMS layer is based on the grid one, just knew it had to be a simple setting somewhere.
BTW the new documentation (I think its new in the past few days?) is a huge improvement :) (also sorry Chris for the duplicate email, another newbie error :( On 7/29/07, Christopher Schmidt <[EMAIL PROTECTED]> wrote: > > On Sun, Jul 29, 2007 at 08:18:11PM +0100, Barry Hunter wrote: > > This is almost certainly a very simple question, and I sure I saw > something > > mentioning this somewhere, but darned if can find it now... > > > > Anyway I have created a custom layer, which is based on the WMS layer - > it > > all works great and displays fine. However many more tiles than are > needed > > are fetched, this is understandable its 'precaching' tiles so that the > user > > can drag in any direction quickly. > > > > For example only 24 tiles are needed to fill the whole screen (including > > part tiles) - however 52 tiles are retrieved, this is a bit overkill, I > > would be happy with the user having to wait a bit rather than download > that > > many tiles unneeded. I guess there is simple setting to adjust this? > > > http://dev.openlayers.org/docs/files/OpenLayers/Layer/Grid-js.html#OpenLayers.Layer.Grid.buffer > > WMS('a', 'url', {'params':'here'}, {buffer: 0}) > > -- Chris > -- Barry - www.nearby.org.uk - www.geograph.org.uk -
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
