I am facing major problem with Bing Maps. I am using : http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.3
First I am getting error in firebug as :
this.CreditsFor=function(a,i,j,h)
{
var e=[];
if(a!="undefined"&&a!=null&&typeof m_tableKeys[a]!="undefined"&&
........
MVC_Init_FlatlandView_Drawing();
MVC_Init_View3D_Drawing()};
if(typeof closeDependency!="undefined")
closeDependency("mapcontrol.js")
After that I put the .LoadMap() call inside try-catch block. it was throwing exception:
p_elSource.attachEvent is not a function
I already tried out following solutions whihc were recommended in msdn forums:
- Setting defualt value for VEMapOptions.BirdseyeOrientation before calling LoadMap()
- Ensured that DOCTYPE is there
This happens only when firebug is enabled.