在我的网站中加载 Bing 地图时出现无效参数错误?

发布于 2025-01-06 06:22:37 字数 220 浏览 2 评论 0原文

我在我的网站中使用 Bing 地图,并在用户使用某些关键字搜索时在其上显示一些点。但是,当没有结果时,我在 veapidelay.js 中收到 javascript 错误,这是 Bing 地图 javascript。我在“e.style.width=this.getActualWidth().toFixed()+"px"”行上收到无效参数错误。 有谁知道可能出现什么问题?

我使用 ASP.Net 作为技术。

I am using Bing map in my website and displaying some points on it while a user search using some keyword. But when there is no result i am getting a javascript error in veapidelay.js this is Bing map javascript. I am getting Invalid Argument error on line "e.style.width=this.getActualWidth().toFixed()+"px"".
Do anyone know what can be the possible issue?

I am using ASP.Net as technology.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

囚我心虐我身 2025-01-13 06:22:37

添加 在 IE9 中为我解决了这个问题。 IE8仍然给我同样的错误。

Adding <meta http-equiv="X-UA-Compatible" content="IE=edge" /> fixed this problem for me in IE9. IE8 still gives me the same error though.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文