[fusion-commits] r2099 - trunk/widgets

svn_fusion at osgeo.org svn_fusion at osgeo.org
Mon Mar 15 15:56:35 EDT 2010


Author: madair
Date: 2010-03-15 15:56:34 -0400 (Mon, 15 Mar 2010)
New Revision: 2099

Modified:
   trunk/widgets/MapMenu.js
Log:
re #315: missed a file save for this widget

Modified: trunk/widgets/MapMenu.js
===================================================================
--- trunk/widgets/MapMenu.js	2010-03-15 19:51:13 UTC (rev 2098)
+++ trunk/widgets/MapMenu.js	2010-03-15 19:56:34 UTC (rev 2099)
@@ -159,8 +159,8 @@
         var ce = this.getMap().getCurrentExtents();
         var dest = null;
         for (var i=0; i<data.maps.length; ++i) {
+          dest = new OpenLayers.Projection(data.maps[i].layerOptions.projection);
           if (data.maps[i].layerOptions.isBaseLayer) {
-            dest = new OpenLayers.Projection(data.maps[i].layerOptions.projection);
             break;
           }
         }



More information about the fusion-commits mailing list