Search code examples
javascriptcssgoogle-maps-api-3position

google map infobox position


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.


Solution

  • 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