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
This commit is contained in:
Schuyler Erle
2007-09-15 03:56:02 +00:00
parent 87bf9a624a
commit cab8696707

View File

@@ -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 - {<OpenLayers.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();