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?
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