In the current release, we have fixed some bugs related to InfoWindow
content sizing.  You should now be able to call setContent() after
changing the div's content to have the size refreshed.  If you're
still seeing problems, with or without your workarounds, please file
issues (with links!) in the issue tracker.

Thanks,
Susannah

On May 12, 11:48 pm, Klaas <klaas...@gmail.com> wrote:
> I had the same problem and could solve it by adding the width and
> height of the image to the img tag.
>
> I guess the infowindow.setContent() recalculates the dimension of the
> content without knowing how big the img tag is going to be.
>
> cheers, Klaas.
>
> On Mar 26, 7:48 pm, Jeff Schnitzer <j...@infohazard.org> wrote:
>
>
>
> > On Mar 26, 2:36 pm, Jeff Schnitzer <j...@infohazard.org> wrote:
>
> > > Is it possible that setContent() is checking that the new Element is
> > > the same as the old and erroneously not checking the size?  I don't
> > > actually have much idea what's going on inside that method.
>
> > Something along these lines seems to be consistent with observed
> > behavior:
>
> >  * Setting a fresh Element causes a proper resize of the InfoWindow
> > bubble
> >  * Setting the same Element (but with different content) produces
> > erratic behavior
>
> > Jeff
>
> --
> 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 google-maps-js-api...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-maps-js-api-v3?hl=en.

-- 
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 google-maps-js-api...@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to