Google Maps API v3: InfoWindow not sizing correctly

Posted by JacobT on Stack Overflow See other posts from Stack Overflow or by JacobT
Published on 2009-10-12T14:23:11Z Indexed on 2010/05/31 21:33 UTC
Read the original article Hit count: 535

Hi all

It appears my InfoWindow, when you click on the home icon on my Google Maps v3, is not properly auto-sizing to the content of the InfoWindow.

It gives scrollbars when it should not. The InfoWindow should be properly auto-sizing.

Any ideas on why? Link below to live size.

http://tinyurl.com/ygktsj

Per request, the relevant JavaScript which injects the HTML for the InfoWindow:

listing = '<div>Content goes here</div>';

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html