none
mouseleave and click events do not work on InfoBox RRS feed

  • Question

  • I create an even handler like this and it does not work correctly:

            ppRec.mouseleaveHandler = Microsoft.Maps.Events.addHandler(myInfobox, 'mouseleave', function(e) { myInfobox.setOptions({ visible: false }); });

    The info box stays visible even though the mouse has left the box.

    something is wrong with this.   Can you please help me?

     


    Steve Kahler
    • Moved by Ricky_Brundritt Saturday, March 10, 2012 10:34 AM (From:Bing Maps: Map Control and Web services Development)
    Thursday, August 11, 2011 6:45 PM

Answers

  • The Bing Maps token service is not related to Mappoint Web Services and is unaffected by the MWS retirement. The Bing Maps token service will be retired (on March 30, 2012), but you can continue to use v6.3 even after the token service is retired by authenticating using a key rather than a token. This is the recommended way to authenticate at the moment anyway.

    See here for more information on how to use a key with Bing Maps: http://msdn.microsoft.com/en-us/library/gg197514.aspx


    twitter: @alastaira blog: http://alastaira.wordpress.com/
    Thursday, August 11, 2011 9:33 PM
    Moderator

All replies

  • It works sometimes.   Sometimes the mouseleave event fires correctly and hte info box is setto not visible but most of the time it does not work correctly.

     

    Please fix this.

     

    We need this fixed becuase our old application is using Bing 6.3 and the plug will be pulled on that in November.    If we cannot get this to work I don't know what we will do.  It us unacceptable the way it works now.

     


    Steve Kahler
    Thursday, August 11, 2011 7:44 PM
  • AFAIK, the "plug" will not be pulled on v6.3 of the Bing Maps AJAX control in November. Where did you get that information?

    There has been no announced date for the retirement of the Bing Maps v6.x series (although it's not a bad idea to think about upgrading to v7 now).

    At the end of this year, the Mappoint Web Services will be retired as will the Bing Maps 3D control, which might be what you're thinking of.


    twitter: @alastaira blog: http://alastaira.wordpress.com/
    Thursday, August 11, 2011 8:04 PM
    Moderator
  • When MapPoint web services is retired as you put it we won't be able to get a client token anymore for Bing 6.3 to work so in effect Bing 6.3 will no longer work when MapPoint web services is pulled.
    Steve Kahler
    Thursday, August 11, 2011 8:06 PM
  • The Bing Maps token service is not related to Mappoint Web Services and is unaffected by the MWS retirement. The Bing Maps token service will be retired (on March 30, 2012), but you can continue to use v6.3 even after the token service is retired by authenticating using a key rather than a token. This is the recommended way to authenticate at the moment anyway.

    See here for more information on how to use a key with Bing Maps: http://msdn.microsoft.com/en-us/library/gg197514.aspx


    twitter: @alastaira blog: http://alastaira.wordpress.com/
    Thursday, August 11, 2011 9:33 PM
    Moderator
  • Are they specific to browser? Below links works for me as expected.

    http://www.bingmapsportal.com/ISDK/AjaxV7#Infobox24

    http://www.bingmapsportal.com/ISDK/AjaxV7#Infobox25

     


    MSFT
    Hemant Goyal
    Thursday, August 11, 2011 11:59 PM