From cab8696707021f10921ec19958e8bf1415b9eaa0 Mon Sep 17 00:00:00 2001 From: Schuyler Erle Date: Sat, 15 Sep 2007 03:56:02 +0000 Subject: [PATCH] Doc change to clarify the purpose of Layer.Grid.buffer. git-svn-id: http://svn.openlayers.org/trunk/openlayers@4313 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Layer/Grid.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/OpenLayers/Layer/Grid.js b/lib/OpenLayers/Layer/Grid.js index 5d7c8d1a32..401d25e5e7 100644 --- a/lib/OpenLayers/Layer/Grid.js +++ b/lib/OpenLayers/Layer/Grid.js @@ -46,8 +46,8 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, { /** * APIProperty: buffer * {Integer} Used only when in gridded mode, this specifies the number of - * extra rows and colums of tiles which will surround the minimum - * grid tiles to cover the map. + * extra rows and colums of tiles on each side which will + * surround the minimum grid tiles to cover the map. */ buffer: 2, @@ -304,7 +304,7 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, { * bounds - {} */ initGriddedTiles:function(bounds) { - + // work out mininum number of rows and columns; this is the number of // tiles required to cover the viewport plus one for panning var viewSize = this.map.getSize();