Autodesk MapGuide Developer
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Mapguide 2011 Fusion Search in Task Pane Problems
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hello,
I have a Fusion 2011 layout with a built-in search that is targeted in the task pane. The search seems to work fine, but when the feature is selected it will not zoom, nothing happens on the map. This only happends when I target the task pane, if I target a new window, everything is fine. In firebug, I get an error saying that in widgets/Search/Search.php
Get Parent (). Fusion is undefined
var map = Get Parent (). Fusion.getMapByName(mapName);
Does anyone know what the fix is? I really do not my searches to open in a new window.
Thanks!
Re: Mapguide 2011 Fusion Search in Task Pane Problems
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I have the same problem and it happens if I use a frame-based html layout. If I don't it works fine.
Is that your case?
Unfortunately I haven't found a way to make it work with frames yet.
Maybe someone else could help
Re: Mapguide 2011 Fusion Search in Task Pane Problems
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
In the Search code, you will have to find the Get Parent () function
and include the name of the top frame or iFrame within the GetParent() function. You may have to fix all the FUSION code and search and replace all the GetParent() with your modified version.
