[mapguide-users] Calling viewer api functions from the main page

Ivan Milicevic Ivan.Milicevic at supranet.hr
Tue Jan 8 17:35:06 EST 2008

try parent.viewerFrame.mapFrame.Refresh(); od window.frames.mapFrame.Refresh();


From: mapguide-users-bounces at lists.osgeo.org on behalf of uXuf
Sent: uto 8.1.2008 22:43
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Calling viewer api functions from the main page

Hi all, I am trying to access the Viewer API functions from the main page of my application, i.e. the page that has the WebLayout embedded (or the iframe). I cannot seem to grab the exact frame from which these functions would be accessible. I tried using document.getElementById("viewerFrame").GetMapFrame() (viewerFrame is the name of the iframe) putting it in the onload function of the iframe but it returns "Object doesn't support this property or method". Can anyone help me in this regard? Thanks! uXuf 


View this message in context: Calling viewer api functions from the main page <http://www.nabble.com/Calling-viewer-api-functions-from-the-main-page-tp14699670s16610p14699670.html> 
Sent from the MapGuide Users mailing list archive <http://www.nabble.com/MapGuide-Users-f14845.html>  at Nabble.com.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3933 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080108/34547773/attachment.bin

More information about the mapguide-users mailing list