On Saturday, October 9, 2010, Matt Priour <mpri...@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.lemo...@camptocamp.com
http://www.camptocamp.com
_______________________________________________
Dev mailing list
d...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to