[OpenLayers-Dev] Reduce OpenLayers.Layer.Grid's buffer throughout
Eric Lemoine
eric.lemoine at camptocamp.com
Sat Oct 9 05:25:38 EDT 2010
On Saturday, October 9, 2010, Matt Priour <mpriour at kestrelcomputer.com> wrote:
>
> This will work but should be done AFTER you instantiate all your layers.
> Otherwise, the defaults specified in the class will overwrite the prototype
> value. When you do it after the instantiation then it will change all
> instances of OpenLayers.Layer.Grid and all its subclasses.
the easiest might be to do
OpenLayers.Layer.WMS.prototype.buffer = 1;
(assuming that WMS instances are created)
--
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 Dev
mailing list