Bing Maps v8.0 Microsoft.Maps.Location is not a constructor in chrome

Viewed 3401

I am working on Bing Maps Version 8.0 upgrade from Version 6.3. Here is my upgraded code below which is throwing an error:

var Points = [new Microsoft.Maps.Location(0, 0), new Microsoft.Maps.Location(0, 0)]

The above lines after it executes gives me an error saying

"TypeError: Microsoft.Maps.Location is not a constructor"

The above problem happens in Google Chrome browser. But the same works fine in Internet Explorer.

Any suggestion is helpful.

Thanks in advance.

Regards, Rahul

1 Answers
Related