Bing Map V8 require.js conflict issue RRS feed

  • Question

  • Hi

    After migrating Bing version from V7 to V8, we are facing an issue with require.js. We are thinking while loading our map pages, the require.js generated from bing map is getting conflicted with our application global require.js due to the version discrepancy. Map is loading fine, but few of our html contents which are loaded from the global page is not getting displayed. 

    If we are loading our global require.js first and then calling the URL, will this resolve the issue? Any insights would be appreciated

    Tuesday, May 23, 2017 4:18 PM


  • A couple of things to try. First try pointing to the experimental branch as it has a lot of updates and those may resolve your issue. Add "&branch=experimental" to the map script URL. The main release branch will be updated with the fixes in the experimental branch at the end of the month.

    Here is an example of how others are loading Bing Maps V8 using require.js:

    require(['async!!callback'], function(){
        var map = new Microsoft.Maps.Map(document.getElementById(uniqid), { credentials: 'Your Bing Maps Key' });
        var color = new Microsoft.Maps.Color(255, 0, 56, 107);

    [Blog] [twitter] [LinkedIn]

    Tuesday, May 23, 2017 5:40 PM