<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi jtm,<br>
<br>
try to add<br>
<br>
OpenLayers.Layer.Grid.prototype.buffer = 1;<br>
<br>
to your script.<br>
<br>
This is untested.<br>
<br>
Regards,<br>
Marc<br>
<br>
<br>
<br>
<br>
<br>
Am 07.10.2010 23:23, schrieb <a class="moz-txt-link-abbreviated" href="mailto:joanne.mcgraw@sympatico.ca:">joanne.mcgraw@sympatico.ca:</a>
<blockquote cite="mid:SNT142-w58A435770B8CE6009F3A02936F0@phx.gbl"
 type="cite">
  <style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style><br>
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).<br>
  <br>
Anyway, I'm trying a different approach this time and mailing directly
to '<a class="moz-txt-link-abbreviated" href="mailto:dev@openlayers.org">dev@openlayers.org</a>' rather than using the forum GUI. Could someone
just Reply All once and let me know if these are getting out there at
all?<br>
  <br>
Cheers<br>
jtm<br>
  <br>
&gt; Date: Wed, 6 Oct 2010 16:32:28 -0700<br>
&gt; From: <a class="moz-txt-link-abbreviated" href="mailto:joanne.mcgraw@sympatico.ca">joanne.mcgraw@sympatico.ca</a><br>
&gt; To: <a class="moz-txt-link-abbreviated" href="mailto:dev@openlayers.org">dev@openlayers.org</a><br>
&gt; CC: <br>
&gt; Subject: [OpenLayers-Dev] Reduce OpenLayers.Layer.Grid's buffer
throughout<br>
&gt; <br>
&gt; <br>
&gt; I've seen the posts that show me how to reduce the buffer size to
1 when I am<br>
&gt; adding an individual layer to my map. E.g. new
OpenLayers.Layer.WMS(...,<br>
&gt; {buffer: 1});<br>
&gt; <br>
&gt; Is there a way to change it for all of OpenLayers?<br>
&gt; <br>
&gt; I've tried:<br>
&gt; <br>
&gt; OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.Grid, {<br>
&gt; buffer: 1<br>
&gt; });<br>
&gt; <br>
&gt; And, although the prototype says buffer = 1 when the new object is
being<br>
&gt; initialized, in all the functions for the OpenLayers.Layer.Grid
object the<br>
&gt; original buffer value of 2 is referenced through 'this'.<br>
&gt; <br>
&gt; Obviously, I'm doing this wrong.<br>
&gt; <br>
&gt; Any ideas what the correct way to approach this is? <br>
&gt; -- <br>
&gt; View this message in context:
<a class="moz-txt-link-freetext" href="http://osgeo-org.1803224.n2.nabble.com/Reduce-OpenLayers-Layer-Grid-s-buffer-throughout-tp5609405p5609405.html">http://osgeo-org.1803224.n2.nabble.com/Reduce-OpenLayers-Layer-Grid-s-buffer-throughout-tp5609405p5609405.html</a><br>
&gt; Sent from the OpenLayers Dev mailing list archive at Nabble.com.<br>
&gt; _______________________________________________<br>
&gt; Dev mailing list<br>
&gt; <a class="moz-txt-link-abbreviated" href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a><br>
&gt; <a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a><br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dev@lists.osgeo.org">Dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/openlayers-dev">http://lists.osgeo.org/mailman/listinfo/openlayers-dev</a>
  </pre>
</blockquote>
<br>
</body>
</html>