[OpenLayers-Users] Limit tiles retrieved from a WMS to viewport
extent
Armin Burger
armin.burger at gmx.net
Thu Jan 28 16:35:08 EST 2010
Thanks, works perfect. I had not noticed that WMS inherits from Grid
class instead of Layer.
armin
On 28/01/2010 22:14, Christopher Schmidt wrote:
> On Thu, Jan 28, 2010 at 09:47:17PM +0100, Armin Burger wrote:
>> Hi everybody
>>
>> I noticed that after zooming in/out OL requests much more tiles from eg.
>> a WMS server than are needed to show in the map container/viewport. That
>> means also tiles really far away from the geographical area currently
>> visible on the map are downloaded. I understand that in most cases this
>> is a desired behaviour to pre-load tiles for panning at the same zoom
>> level.
>
> 'buffer': 0 on your layer options will fix this.
>
> Regards,
More information about the Users
mailing list