[fusion-commits] r2668 - sandbox/ol212/lib
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Fri Mar 22 07:41:58 PDT 2013
Author: jng
Date: 2013-03-22 07:41:58 -0700 (Fri, 22 Mar 2013)
New Revision: 2668
Modified:
sandbox/ol212/lib/Map.js
Log:
Mixed my i's and j's again.
Modified: sandbox/ol212/lib/Map.js
===================================================================
--- sandbox/ol212/lib/Map.js 2013-03-19 12:27:49 UTC (rev 2667)
+++ sandbox/ol212/lib/Map.js 2013-03-22 14:41:58 UTC (rev 2668)
@@ -482,8 +482,8 @@
}
oLayer.resolutions = newResolutions;
var newScales = [];
- for (var i = 0; i < newResolutions.length; i++) {
- newScales.push(OpenLayers.Util.getScaleFromResolution(newResolutions[i], oLayer.units));
+ for (var j = 0; j < newResolutions.length; j++) {
+ newScales.push(OpenLayers.Util.getScaleFromResolution(newResolutions[j], oLayer.units));
}
oLayer.scales = newScales;
oLayer.minResolution = newResolutions[newResolutions.length - 1];
More information about the fusion-commits
mailing list