• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    Autodesk MapGuide Developer

    Reply
    Active Contributor
    Posts: 45
    Registered: ‎01-26-2009

    Mapguide 2011 Fusion Search in Task Pane Problems

    429 Views, 2 Replies
    02-02-2011 01:02 PM

    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!

    emluv
    Please use plain text.
    New Member
    Posts: 2
    Registered: ‎04-13-2008

    Re: Mapguide 2011 Fusion Search in Task Pane Problems

    04-23-2011 04:39 AM in reply to: emluv

    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

    Please use plain text.
    Valued Mentor
    Posts: 270
    Registered: ‎10-10-2003

    Re: Mapguide 2011 Fusion Search in Task Pane Problems

    04-26-2011 12:15 PM in reply to: ggdm

    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.

     

     

    Please use plain text.