Hello,
I have created a search using the built-in command in a Fusion 2011 layout. I have set the search to open in an iFrame, and it seems to work until it comes time to zoom to it. When the feature is selected, nothing happends on the map. I have tried changing some code in the Mapguide API in \www\fusion\layers\MapGuide\MapGuideViewerApi.js from
var Fusion = window.top.Fusion to var Fusion = window.top.iFrameMap.Fusion and still no luck.
How do I get the map to talk to the iFrame?
Thanks in advance!
Emily
Have you tried window.top.iFrameMap.contentWindow.Fusion?
The contentWindow property gives you the window reference of the iframe
- Jackie