Addressing @bartdve's review comments.
This commit is contained in:
@@ -605,8 +605,7 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
|
||||
|
||||
/**
|
||||
* Method: getServerResolution
|
||||
* Return the closest server-supported resolution. Throw an
|
||||
* exception if none is found in the serverResolutions array.
|
||||
* Return the closest server-supported resolution.
|
||||
*
|
||||
* Parameters:
|
||||
* resolution - {Number} The base resolution. If undefined the
|
||||
@@ -1193,7 +1192,7 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
|
||||
* Parameters:
|
||||
* prepend - {Boolean} if true, prepend to beginning.
|
||||
* if false, then append to end
|
||||
* tileSize - {<OpenLayers.Size>} rendered tile size
|
||||
* tileSize - {Object} rendered tile size; object with w and h properties
|
||||
*/
|
||||
shiftRow:function(prepend, tileSize) {
|
||||
var modelRowIndex = (prepend) ? 0 : (this.grid.length - 1);
|
||||
@@ -1229,7 +1228,7 @@ OpenLayers.Layer.Grid = OpenLayers.Class(OpenLayers.Layer.HTTPRequest, {
|
||||
* Parameters:
|
||||
* prepend - {Boolean} if true, prepend to beginning.
|
||||
* if false, then append to end
|
||||
* tileSize - {<OpenLayers.Size>} rendered tile size
|
||||
* tileSize - {Object} rendered tile size; object with w and h properties
|
||||
*/
|
||||
shiftColumn: function(prepend, tileSize) {
|
||||
var sign = prepend ? -1 : 1;
|
||||
|
||||
Reference in New Issue
Block a user