aytee / google-maps-utility-library-v3

Automatically exported from code.google.com/p/google-maps-utility-library-v3
Apache License 2.0
0 stars 0 forks source link

infoBubble doesn't grow #177

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am using infoBubble to display some texts with an image on the map. I just 
found the size of infoBubble doesn't grow with image in Chrome (I am using Mac 
OS X 10.7.4). To reproduce my problem, please unzip the attachment and check 
test1.html Sorry, I don't have any public domain to host these html... :(

Here are what inside test.zip:
test1.html: Using infoBubble to display a remote image (hosted on a public 
domain)
test2.html: Using Google InfoWindow to display
test3.html: Using infoBubble to display a local image (contained in "images" 
folder)
"screenshots" folder: contains 3 screenshots I captured from my Chrome.

As you can see, test1.html does not display a pretty infoBubble. There are ugly 
scrollbars! I was expecting the content to be displayed perfectly without any 
scrollbar. It works as I am expecting in test2.html and test3.html, and it 
seems only happening to Mac Chrome.

In fact, it happens in Safari sometimes actually, but in Safari it's not always 
reproducible. It seems happening when the requested image coming along with a 
header "Cache-Control: no-cache, no-store". If I remove no-store from 
Cache-Control, infoBubble is sized perfectly in Safari then. Does anyone have 
the same problem? 

Browser / Operating System:
Chrome 19.0.1084.52 / Mac OS X 10.7.4
Safari 5.1.7 / Mac OS X 10.7.4

Original issue reported on code.google.com by dowlin0...@gmail.com on 29 May 2012 at 3:05

Attachments: