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();