Google infowindow 使用其 API 无法正确显示
我正在使用 Google 地图 API 将地图集成到我的网站中,我正在使用自定义标记和信息窗口。我以前使用过此功能,无需担心,但现在,当我单击标记时,信息窗口显示不正确。
我尝试了很多不同的方法来尝试修复它,但我似乎无法弄清楚发生了什么。
这是一张图片,我无法将其附加到帖子中,因为我是新人等等。
http://i47.tinypic.com/xbwmbq.png
任何帮助将不胜感激。
谢谢
I am using the Google map API to integrate the map into my website, I am using custom markers and infowindows. I have used this previously with no worries but now, when I click on my marker, the infowindow displays incorrectly.
I have tried to many different things to try and fix it but I just can't seem to figure out whats going on.
here is an image, I can't attach it to the post since I am new and all that.
http://i47.tinypic.com/xbwmbq.png
Any help would be muchly appreciated.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您最近更改过 DOCTYPE 吗?当我切换到不同的 DOCTYPE 时,我曾经让信息窗口开始做类似的有趣的事情。
Did you change your DOCTYPE recently? I once had the infowindow start doing funny things like that when I switched to a different DOCTYPE.
好吧,我以为我已经解决了它,但事实证明我没有。为了解决这个问题,我不得不转动可怕的 iframe。可悲的是,在我找到更好的解决方案之前,它必须保持这种状态。
Well, I thought I had fixed it, but it turns out I didn't. To fix it I had to turn the the dreaded iframe. Sadly, it will have to stay that way until I find a better fix.