Change position of the info window

arjuncc picture arjuncc · Nov 23, 2012 · Viewed 11.6k times · Source

I usually see the info window is opened to the top of the marker. is there any way that i can open it to bottom or side? I mean left side or right side?

Answer

duncan picture duncan · Nov 23, 2012

I think you need to specify the anchorPoint property on the Marker: "The offset from the marker's position to the tip of an InfoWindow that has been opened with the marker as anchor."

https://developers.google.com/maps/documentation/javascript/reference#MarkerOptions