[OpenLayers-Users] Panning 2.10 vs 2.11

Eric Lemoine eric.lemoine at camptocamp.com
Thu Oct 13 02:52:16 EDT 2011


On Thu, Oct 13, 2011 at 4:19 AM, Roald de Wit <list at rdewit.net> wrote:
> Hi,
>
> Isn't this just because OL 2.11 has changed the default buffer from 2 to 0?
>
> Try adding 'buffer: 2' (or 1 for example) to your layer options to get the
> old behaviour back. The reason that the buffer was set to 0 was to reduce
> the amount of unnecessary tile requests (IIRC).

Right. So buffer:2 + tileLoadingDelay:0 should should make the layer
behave similarly as with 2.10.

>
> Looking at the 2.11 release notes, there was no mention of this change, so I
> added it at the end:
> http://trac.osgeo.org/openlayers/wiki/Release/2.11/Notes


Thank you!




-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com


More information about the Users mailing list