I am creating info windows for markers that have 2 images in them, and
it seems that in Firefox the size of the info window is not calculated
correctly and results in scroll bars. This only happens the first time
it is loaded, if you refresh the page they look fine. It seems to
happen occasionally in Chrome too now that I have the demo running on
an external server. In IE and Safari they are correct right from the
start, and in v2 it works everywhere. I can't set a fixed height for
the contents because the sizes of the images vary somewhat, as well as
the size of the text. It seems most likely that the images are to
blame so I preload them using a DOM Image object but this doesn't
solve the problem.  One image is displayed as-is, and the other is re-
sized to a fixed height.

Here is a link which demonstrates the problem: 
http://www.spatialdatabox.com/demo/
First load => scroll bars
refresh => no scroll bars
CTR-F5 => scroll bars again

Is this a bug or am I doing something wrong?

Thanks in advance


-- 
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