Adding a bing map inside Microsoft Dynamics CRM RRS feed

  • Question



    So far, I have been following this article on how to intergrate Bing Maps with Dynamics CRM 2011.

    I am having issues with a few things with getting it to work however. A few to mention are where can i obtain these javascript files




    I seem to need these things to get things running. The map.setcredentials also requires a key which i have obtained from signing up to bingmap services.


    I'm not quite sure of the format this should be in however.


    Can anyone give me a clear cut view of how this all works, from the js files that are needed and the key situation






    • Moved by Ricky_Brundritt Friday, March 9, 2012 5:08 PM (From:Bing Maps: Map Control and Web services Development)
    Thursday, February 10, 2011 12:06 PM


All replies

  • <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <script type="text/javascript" src=""></script>
      <script type="text/javascript">
      function GetMap()
       var map = new Microsoft.Maps.Map(document.getElementById("mapDiv"), 
           {credentials: "Your Bing Maps Key",
           center: new Microsoft.Maps.Location(45.5, -122.5),
           mapTypeId: Microsoft.Maps.MapTypeId.road,
            zoom: 7});
     <body onload="GetMap();">
      <div id='mapDiv' style="position:relative; width:400px; height:400px;"></div>  
    I've tried even loading a simlpler map but i get a js error on the Microsoft class undefined 
    Thursday, February 10, 2011 12:29 PM
    • Proposed as answer by Wharf FC Wednesday, April 6, 2011 10:46 AM
    • Marked as answer by Ricky_Brundritt Wednesday, April 6, 2011 10:48 AM
    Wednesday, April 6, 2011 10:46 AM