[OpenLayers-Dev] Reduce OpenLayers.Layer.Grid's buffer throughout

christopher.schmidt at nokia.com christopher.schmidt at nokia.com
Thu Oct 7 19:57:49 EDT 2010


On Oct 7, 2010, at 5:23 PM, ext joanne.mcgraw at sympatico.ca wrote:

> 
> I can't believe this is a question that no one has any ideas about. It's more likely that I'm not posting these into the forum properly. I seem to be the only person who has viewed my post (actually 2 posts because I really did mess up the first time and posted a second time, which may have been a mistake...who knows).
> 
> Anyway, I'm trying a different approach this time and mailing directly to 'dev at openlayers.org' rather than using the forum GUI. Could someone just Reply All once and let me know if these are getting out there at all?

I've seen both messages.

-- Chris

> Cheers
> jtm
> 
> > Date: Wed, 6 Oct 2010 16:32:28 -0700
> > From: joanne.mcgraw at sympatico.ca
> > To: dev at openlayers.org
> > CC: 
> > Subject: [OpenLayers-Dev] Reduce OpenLayers.Layer.Grid's buffer throughout
> > 
> > 
> > I've seen the posts that show me how to reduce the buffer size to 1 when I am
> > adding an individual layer to my map. E.g. new OpenLayers.Layer.WMS(...,
> > {buffer: 1});
> > 
> > Is there a way to change it for all of OpenLayers?
> > 
> > I've tried:
> > 
> > OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.Grid, {
> > buffer: 1
> > });
> > 
> > And, although the prototype says buffer = 1 when the new object is being
> > initialized, in all the functions for the OpenLayers.Layer.Grid object the
> > original buffer value of 2 is referenced through 'this'.
> > 
> > Obviously, I'm doing this wrong.
> > 
> > Any ideas what the correct way to approach this is? 
> > -- 
> > View this message in context: http://osgeo-org.1803224.n2.nabble.com/Reduce-OpenLayers-Layer-Grid-s-buffer-throughout-tp5609405p5609405.html
> > Sent from the OpenLayers Dev mailing list archive at Nabble.com.
> > _______________________________________________
> > Dev mailing list
> > Dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/openlayers-dev
> <ATT00001..txt>



More information about the Dev mailing list