[OpenLayers-Commits] r12296 - sandbox/camptocamp/clientzoom/lib/OpenLayers/Layer

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Wed Aug 31 05:16:25 EDT 2011


Author: cmoullet
Date: 2011-08-31 02:16:24 -0700 (Wed, 31 Aug 2011)
New Revision: 12296

Modified:
   sandbox/camptocamp/clientzoom/lib/OpenLayers/Layer/Grid.js
Log:
Fix wrong variable name


Modified: sandbox/camptocamp/clientzoom/lib/OpenLayers/Layer/Grid.js
===================================================================
--- sandbox/camptocamp/clientzoom/lib/OpenLayers/Layer/Grid.js	2011-08-31 09:06:53 UTC (rev 12295)
+++ sandbox/camptocamp/clientzoom/lib/OpenLayers/Layer/Grid.js	2011-08-31 09:16:24 UTC (rev 12296)
@@ -240,7 +240,7 @@
             var resolution = this.map.getResolution(),
                 serverSupportedResolution = this.getServerSupportedResolution();
             if (resolution !== serverSupportedResolution) {
-                bounds = this.map.calculateBounds(null, availableResolution);
+                bounds = this.map.calculateBounds(null, serverSupportedResolution);
             }
 
             // total bounds of the tiles



More information about the Commits mailing list