[mapguide-users] Re: headjs with MapGuide?

GordonL gordon.luckett at arrowgeomatics.com
Wed Oct 12 21:03:38 EDT 2011


I have a lot of customization outside of the compress FUSIONSF_compressed.js
file.  But refers back to the FUSION library.

For example, if in my home.php page I have 5 js libraries and some point to
FUSION in the iFrame, however, it can find them and vice-versa.  I might not
be referring the libraries correctly.  

For example, to get the SESSION from myCore.js in the home.js

 var mapWidget = window.top.iFrameMap.Fusion.getWidgetById('Map');
 SESSION = mapWidget.getSessionID();
 MAPNAME = mapWidget.getMapName(); 

but it can't find window.top.iFrameMap.Fusion when its been loaded with
headjs.

gordon




--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/headjs-with-MapGuide-tp6886620p6887271.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list