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