google地图infobox位置 [英] google map infobox position

查看:122
本文介绍了google地图infobox位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在搜索这个问题一段时间,我所有的都是头痛。我在谷歌地图上添加google标记与信息框,但信息框的位置低于标记,我怎么会真的很感激它在标记。有谁知道如何做?

I've been googling that question for some time and all I got is headache. I add google marker with infobox on my google map, but the infobox is located lower than marker, how ever I would really appreciate it to be over the marker. Does anyone know how to do it?

请不要去某个地方的链接,我今天看到了一个漫长的时间。提前感谢。

And please don't gove some links to somewhere, I was seeing it for a loooong time today. Thank you in advance.

推荐答案

设置 alignBottom infoBox到 true (默认为 false )。要进一步调整位置,请使用infoBox的 pixelOffset -property

set the alignBottom-property of the infoBox to true (default is false). For further adjustments of the position use the pixelOffset-property of the infoBox

这篇关于google地图infobox位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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