1
Vote

Problem with firefox

description

I had the same issue. The following link helped me solve it:
http://www.codeproject.com/Articles/190205/Fix-for-Bing-Maps-not-working-in-Firefox-4

And I put this code in Page_Load event and it did the job.

if ((Page.Request.Browser.Browser.IndexOf("Firefox") >= 0) &&
                 (Page.Request.Browser.MajorVersion >= 4))
        {
            string script = "<script src=\"http://dev.virtualearth.net/mapcontrol/v6.3/js/atlascompat.js\"></script>";
            Page.ClientScript.RegisterClientScriptBlock(GetType(), "FirefoxBingMapIssueScript", script, false);
        }
Hope it helps.
Reza.

comments