开发者

Bing Maps AJAX v7.0 Control Not Working Since this Morning

开发者 https://www.devze.com 2023-03-03 10:03 出处:网络
I\'ve been working with the Bing Maps AJAX v7 control for a few months now. I ran my app this morning and none of the maps appeared - just blank

I've been working with the Bing Maps AJAX v7 control for a few months now. I ran my app this morning and none of the maps appeared - just blank pages - my code has not changed. I even tested an old version I had depl开发者_如何学Coyed elsewhere which is been working for months - it's now also broken.

Digging deeper and playing with the styling, I got the control to render, and it said that my key was invalid.

Doing the same playing around with the styling on the next page made the control appear (wrong dimensions), but no warning about the invalid credentials.

I have tried creating a new Developer key and using that but I get the same result.


You need to create the Microsoft.Maps.Map object before calling other objects such as Pushpin, Location etc. I ran into the same problem and changing the order fixed the issue.

0

精彩评论

暂无评论...
验证码 换一张
取 消