Glad I stumbled up the solutions of this page, especially the
simple genius of setting the parent/parent-parent to *overflow:none*.
Brilliant.
In my attempts to figure out what was happening, I stumbled up the following
*in my context (only?)*: adjusting the font-size of the last line affected
the presence of scroll bars (vertical).
For what it's worth, my hacked solution is to add a single line to the end
of the content of the InfoWindow with a font-size of 20%. For example (see
the end of the second line):
var infowindow = new google.maps.InfoWindow();
infowindow.setContent("Lots of stuff here, including inline spans if
desired.*<br/><span style=\"font-size:20%\"> </span>*");
For some reason, this made the scroll bars not show up. This option
(hack?!) allowed me to put dynamically created content into the InfoWindow
wherein I simply add the "<br/><span...." to the end.
Also, for what it's worth, I had to remove the <h4> tag from the first line
which was a relatively long sentence. Having the <h4> tag made the scroll
bars come back.
Not even a full "two cents",
David
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/XkgzIZAKIOYJ.
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.