InfoBoxes laggy in IE in Bing Maps v8, fine in v7 RRS feed

  • Question

  • Hi,

    InfoBoxes have caused the map to feel laggy when moving it around when you have quite a few on the map, but only in IE and a bit in Edge. In Chrome and Firefox it appears fine. Also in v7 it appears fine on all browsers.

    Here's example JavaScript that can be used on Interactive SDK page as a guide:


    var map = new Microsoft.Maps.Map(document.getElementById('myMap'), {
        credentials: 'Your Bing Maps Key',
        center: new Microsoft.Maps.Location(47.60357, -122.32945)
    var center = map.getCenter();
    var infoboxes = [];
    for (var i = 0; i < 50; i++)
    	var newCenter = new Microsoft.Maps.Location(center.latitude += 0.01, center.longitude += 0.01);
    	var infobox = new Microsoft.Maps.Infobox(newCenter, {
    		htmlContent: '<div id="infoboxText" style="background-color:White; border-style:solid; border-width:medium; border-color:DarkOrange; min-height:30px; width: 30px; "></div>'

    Maybe something to do with the change to attach infoboxes to the map rather than to Layers/EntityCollections?

    Is there any way of improving the performance of this?


    • Edited by TC-Tim Wednesday, May 17, 2017 12:42 PM
    Wednesday, May 17, 2017 12:41 PM


All replies

  • This is a known issue that the team is looking into.

    [Blog] [twitter] [LinkedIn]

    Wednesday, May 17, 2017 5:28 PM
  • Ok thanks, do you know the priority/ETA on the resolution of that issue?

    I noticed someone posted something similar back in September, so worried it might not be high priority: https://social.msdn.microsoft.com/Forums/en-US/950efca1-49df-4789-ad84-f85046aa01c8/infobox-moves-during-map-drag-with-internet-explorer-11?forum=bingmapsajax


    Thursday, May 18, 2017 2:39 PM
  • This was resolved a few releases ago. Likely sometime in June.

    [Blog] [twitter] [LinkedIn]

    Thursday, August 24, 2017 6:44 PM