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

uXuf yousuf.hassan at gmail.com
Tue Jan 8 16:43:50 EST 2008


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: http://www.nabble.com/Calling-viewer-api-functions-from-the-main-page-tp14699670s16610p14699670.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20080108/216dd790/attachment.html


More information about the mapguide-users mailing list