IE6/7 Google 地图图块透明度 - 我看不到地图

发布于 2024-10-08 07:44:12 字数 440 浏览 9 评论 0原文

我目前正在构建一个使用 Google Maps V3 API 的网站。它在 Firefox/Chrome/Safari/Opera/IE8 上按预期工作 - 但在 IE6 和 7 中,地图图块是透明的。叠加层出现,但地图图块似乎被隐藏。我说“似乎是”是因为,如果我快速拖动地图,图块就会在那里然后消失 - 所以它一定是 JavaScript 隐藏了它?

这是问题的图片:

http://dl.dropbox.com/u/ 10007971/mm/mm_google_map_error.jpg

我在 CSS 中使用不透明度,这可能是问题的根源。

如果需要代码,我很乐意发布它。

谢谢,

奥利

I am currently building a site that utilises the Google Maps V3 API. It works as expected on Firefox/Chrome/Safari/Opera/IE8 - but in IE6 and 7 the map tiles are transparent. The overlay appears but the map tiles appear to be hidden. I say 'appear to be' because, if I drag the map quickly the tiles are there then they disappear - so it must be javascript hiding it?

Here's an image of the problem:

http://dl.dropbox.com/u/10007971/mm/mm_google_map_error.jpg

I am using opacity in my CSS which may be the root of the problem.

If code is needed I am happy to post it.

Thanks,

Ollie

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

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

发布评论

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

评论(1

赴月观长安 2024-10-15 07:44:12

我刚刚遇到了类似的问题。我正在使用 jquery 设置地图的父元素之一的不透明度。显然在 IE6 和 IE6 中7 这使用 filter: alpha(opacity=X) 属性。删除它似乎可以解决不可见地图图块的问题。

希望这有帮助。

I've just had a similar problem. I was setting the opacity of one of the map's parent elements using jquery. Obviously in IE6 & 7 this uses filter: alpha(opacity=X) property. Removing this seemed to resolve the issue with the invisible map tiles.

Hope this helps.

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