There's an own method for that:
updateInfoWindow(tabs, onupdate?)
Explanation from http://www.google.com/apis
"Updates the content of the currently open GInfoWindow object, without repositioning. The info window is resized to fit the new content. The optional onupdate callback function is called after the info window content is actually changed."
Main Topics
Browse All Topics





by: BogoJokerPosted on 2007-08-10 at 20:42:52ID: 19674807
In the examples I have seen the info box can just be HTML. In that case you can set the HTML to be whatever you want. One with a class, or explicitly setting the width in the element.
var infobox_data = '<div style="width: 200px; padding: 10px;">Example<br />123 Fake Street</div>';
(your GMarker variable here).openInfoWindowHtml( infobox_data );
Unless there is some other way that you want to have an infobox.
- Joe P