[OpenLayers-Commits] r12304 -
sandbox/camptocamp/clientzoom/lib/OpenLayers/Layer
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Wed Aug 31 11:08:03 EDT 2011
Author: erilem
Date: 2011-08-31 08:08:02 -0700 (Wed, 31 Aug 2011)
New Revision: 12304
Modified:
sandbox/camptocamp/clientzoom/lib/OpenLayers/Layer/Grid.js
Log:
better comments for Grid.recenterTiles
Modified: sandbox/camptocamp/clientzoom/lib/OpenLayers/Layer/Grid.js
===================================================================
--- sandbox/camptocamp/clientzoom/lib/OpenLayers/Layer/Grid.js 2011-08-31 14:14:47 UTC (rev 12303)
+++ sandbox/camptocamp/clientzoom/lib/OpenLayers/Layer/Grid.js 2011-08-31 15:08:02 UTC (rev 12304)
@@ -353,8 +353,8 @@
/**
* Method: rencenterTiles
* After scaling the layer div or retiling the tiles aren't correctly
- * positioned. This function moves the layer div to move the* tiles to
- * the correct position.
+ * positioned. This function moves the layer div to move the tiles as
+ * appropriate.
*/
recenterTiles: function() {
var size = this.map.getSize();
@@ -610,7 +610,7 @@
var layerContainerDivLeft = parseInt(this.map.layerContainerDiv.style.left);
var layerContainerDivTop = parseInt(this.map.layerContainerDiv.style.top);
-
+
do {
var row = this.grid[rowidx++];
More information about the Commits
mailing list