[mapguide-users] getSessionID() Error in Mapguide Fusion (Version 2.5.0.7749)

jenjeny jjen.2007 at gmail.com
Tue Jul 16 23:56:46 PDT 2013


I changed my code to check the mapguide layer as follows:

function MyOnLoad ()
{
Fusion.initialize(); 
var mapWidget =Fusion.getWidgetById('Map'); 
for (var i = 0; i < mapWidget.aMaps.length; i++) 
{ 
    if (mapWidget.aMaps[i].arch == "MapGuide") 
    { 
         SESSION = mapWidget.aMaps[i].getSessionID(); 
         MAPNAME = mapWidget.aMaps[i].getMapName(); 
         break; 
    } 
}
document.form1.SESSION.value=SESSION;
document.form1.MAPNAME.value=MAPNAME;
}

But still, it shows the same error. 

Thanks 
Jeny



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/getSessionID-Error-in-Mapguide-Fusion-Version-2-5-0-7749-tp5066922p5066942.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list