In the Internet browser Safari 5.0.2. (for Windows) I get a scrollbar
in the infowindow. In the other browsers I use for testing (Chrome
7.0, IE 8.0, FireFox 3.6 and Opera 10) I don't. They fit the
infowindow nicely around the text.
This is the code I use:

    function OpenInfo(text) {
      if (infowindow != null) {
        infowindow.close();
      }
      text = text.replace("'","'");
      infowindow = new google.maps.InfoWindow({
        content: '<br>'+text
      });
      infowindow.open(map,marker);
      if (error != "") {
        ShowError(error,'');
        error = "";
      }
      document.fa.faddress.value = text;
    }

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to