I don't know the exact command off the top of my head, but the DWF Viewer has its own similar API with which you could do a similar check.
Dave From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sebastian NICIU Sent: Thursday, October 16, 2008 5:53 AM To: [email protected] Subject: [mapguide-users] AJAX versus DWF problem Hello, I have a small problem, please help !!! I am using the java development environment and need to execute some java code when the map has finished loading. Using the AJAX viewer I use a JSP page that has on the onload property of the body this function : function onPageLoad() { if (parent.mapFrame.mapInit) { clearTimeout(t); window.open('ajaxviewerMapguideJS.jsp?SESSION=<%=sessionId%>&WEBLAYOUT=<%=webLayout%>&GUID=<%=GUID%>', 'scriptFrame', ''); } else { t = setTimeout("onPageLoad()", 500); } The problem is when I am using the DWF viewer the mapFrame.mapInit variable is always false, because, I understand, the viewer don't use this variable. Do anybody know how could I verify if the map has loaded using the DWF viewer ? Thanks :)
_______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
