I have been using a variation of this technique (not using jquery) with a
reasonable degree of success but have encountered a few minor niggles mainly
related to Internet Explorer.
- Sometimes with large infowindow content it overflows the bottom of the
window and I have not yet worked out a scheme for predicting when that will
occur or suitable CSS styling for conditional scroll bars (It hasn't been a
priority to solve)
- I am building multiple markers and infowindows in a loop and it was
fine in Firefox, Chrome, Safari but in IE I found that the infowindows were
blank apart from the last. It appeared for some reason the setContent
hadn't worked. This was easily fixed by adding to the click handler for
the marker a condition setContent
if (document.getElementById('content'+ix))
{
evntObj.infowindow.setContent(document.getElementById('content'+ix));
}
- IE9 is as good as the other browsers for not overflowing windows but
IE8 is particularly prone to overflowing or if given scroll bars formatting
a window with room only for scroll bars with no visible text!
--
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/-/dQeSDIFEBhMJ.
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.