final InfoWindow info = map.getInfoWindow();
InfoWindowContent content = new InfoWindowContent("HelloMaps!");
content.setMaxContent("Hello Again Maps!");
content.setMaxTitle("Hello Maps Maximized");
// Handler to maximize the info window as soon as it opens.
map.addInfoWindowOpenHandler(new MapInfoWindowOpenHandler() {
public void onInfoWindowOpen(MapInfoWindowOpenEvent event) {
// This timer gives the info window a chance go get going.
// We saw spurious timeouts on this test case before adding the
// timer (the value of 300ms may need to be adjusted further.)