[mapguide-commits] r8334 - sandbox/adsk/2.5k/Oem/fusionMG/templates/mapguide/preview

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Sun Aug 17 23:03:34 PDT 2014


Author: hubu
Date: 2014-08-17 23:03:34 -0700 (Sun, 17 Aug 2014)
New Revision: 8334

Modified:
   sandbox/adsk/2.5k/Oem/fusionMG/templates/mapguide/preview/index.html
   sandbox/adsk/2.5k/Oem/fusionMG/templates/mapguide/preview/indexNoLegend.html
Log:
Some customers reported that cannot preview map/layer in AIMS Studio. I am not sure what happened. But after the 2 changes: 1)Use FusionSF.js instead of FusionSF-compressed.js; 2)Add a resize() in onload(), the issue disappeared.



Modified: sandbox/adsk/2.5k/Oem/fusionMG/templates/mapguide/preview/index.html
===================================================================
--- sandbox/adsk/2.5k/Oem/fusionMG/templates/mapguide/preview/index.html	2014-08-18 05:21:35 UTC (rev 8333)
+++ sandbox/adsk/2.5k/Oem/fusionMG/templates/mapguide/preview/index.html	2014-08-18 06:03:34 UTC (rev 8334)
@@ -4,7 +4,7 @@
 <head>
 <title>Preview</title>
 <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
-<script type="text/javascript" src="../../../lib/fusionSF-compressed.js"></script>
+<script type="text/javascript" src="../../../lib/fusionSF.js"></script>
 <link rel="stylesheet" href="../../../lib/jxLib/themes/delicious/jxtheme.css" type="text/css" media="screen" charset="utf-8">
 <link rel="stylesheet" href="preview.css" type="text/css" media="screen" charset="utf-8">
 <!--[if lte IE 6]>
@@ -86,6 +86,7 @@
          })
      );
 
+     $('thePage').resize({forceResize: true});
      Fusion.registerForEvent(Fusion.Event.FUSION_INITIALIZED, fusionInitialized);
      Fusion.registerForEvent(Fusion.Event.FUSION_ERROR, fusionError);
      Fusion.initialize();

Modified: sandbox/adsk/2.5k/Oem/fusionMG/templates/mapguide/preview/indexNoLegend.html
===================================================================
--- sandbox/adsk/2.5k/Oem/fusionMG/templates/mapguide/preview/indexNoLegend.html	2014-08-18 05:21:35 UTC (rev 8333)
+++ sandbox/adsk/2.5k/Oem/fusionMG/templates/mapguide/preview/indexNoLegend.html	2014-08-18 06:03:34 UTC (rev 8334)
@@ -4,7 +4,7 @@
 <head>
 <title>Preview</title>
 <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
-<script type="text/javascript" src="../../../lib/fusionSF-compressed.js"></script>
+<script type="text/javascript" src="../../../lib/fusionSF.js"></script>
 <link rel="stylesheet" href="../../../lib/jxLib/themes/delicious/jxtheme.css" type="text/css" media="screen" charset="utf-8">
 <link rel="stylesheet" href="preview.css" type="text/css" media="screen" charset="utf-8">
 <!--[if lte IE 6]>
@@ -62,6 +62,7 @@
          content: 'MapPane'
      });
 
+     $('thePage').resize({forceResize: true});
      Fusion.registerForEvent(Fusion.Event.FUSION_INITIALIZED, fusionInitialized);
      Fusion.registerForEvent(Fusion.Event.FUSION_ERROR, fusionError);
      Fusion.initialize();



More information about the mapguide-commits mailing list