http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=5 this.CreditsFor=function(a,i,j,h){var e=[];if(a!="undefined"&.....}

Answered http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=5 this.CreditsFor=function(a,i,j,h){var e=[];if(a!="undefined"&.....}

  • Tuesday, July 31, 2012 5:46 AM
     
     

    Hi everyone.

    when I use Ajax Bing map, in the function (this.CreditsFor) of the mapcontrol.ashx?v=5 ,it occurs following error f is null. I do not know why,I do not know the reason,are there  problems in Bing map ,or in my application ? if you see it like this ,please tell me ,thanks very much

All Replies

  • Tuesday, July 31, 2012 9:41 AM
    Owner
     
     Answered
    One place to start is to reference version 6.3 in your code and not v5. V5 was discontinued several years ago and in the back end you are actually using v6.3. Secondly ensue you are using a Bing Maps key with your map as documented here: http://msdn.microsoft.com/en-us/library/ee692182.aspx Note all applications are required to be using credentials as stated in the terms of use of Bing Maps.

    http://rbrundritt.wordpress.com