Mac Safari 5.0.4使用Google Maps API时的错误 [英] Mac Safari 5.0.4 bug when using Google Maps API

查看:121
本文介绍了Mac Safari 5.0.4使用Google Maps API时的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我正在建立的网站上,使用Google Maps API v.3建立的Google地图。它在所有浏览器中正常工作。但是,在Safari(至少Mac),它以一种奇怪的方式影响其他元素。它似乎真的只适用于绝对定位的元素,它可能与z-index有关。有没有人有这样的东西的任何经验?你的解决方案是什么?抱歉,我无法发布网址。

I have a google map built from the Google Maps API v.3 on a website that I am building. It works fine in all browsers. However, in Safari (for the Mac at least) it is affecting other elements in an odd way. It seems to really only apply to absolutely positioned elements and it may have something to do with z-index. Has anyone had any experience with something like this? What did your solution end up being? Sorry I cannot post a URL yet.

谢谢!!

推荐答案

我最终找到我的问题的解决方案。它的确与z-index有关。有趣的是,它只发生在Safari,虽然。无论如何,如果任何人注意到Safari和谷歌地图奇怪的事情,它可能与你的页面上的元素的Z-index有关。这就是我开始的地方。再次感谢!

I ended up finding the solution to my problem. It did indeed have to do with z-index. Interesting that it was only happening in Safari, though. Regardless, if anyone else is noticing something odd going on with Safari and google maps it may have something to do with the z-index of an element on your page. That's where I would start. Thanks again!

这篇关于Mac Safari 5.0.4使用Google Maps API时的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆