I've used customContent, with the default infoWindow frame. I have always just pre-sized my custom content (passed in width, height in constructor).
If there is a way to tell the default infoWindow frame to resize once the customContent has been initialized, that would be spectacular. I'm not sure what object the default frame is either, KoldFuzun; do you know off-hand what it is Pamela? On Mar 26, 5:33 am, pamela fox <[email protected]> wrote: > Hi TJ- > Sorry for your frustration. Are you using the default frame for the > infowindow, or is it completely custom? > > > > On Wed, Mar 25, 2009 at 4:43 AM, KoldFuzun <[email protected]> wrote: > > > So I have been playing with this for about 10 hours now and it's a bit > > frustrating. > > > Here's what I have discovered: > > > the instance of the component I am passing to the info window is > > created, but since the data is not populated until after the instance > > is created the height and width of the populated component is not > > available to the info window at time of creation. Once the component's > > measure() is fired the info window has already been created and the > > info window will not resize to the component's measuredHeight and > > measuredWidth. This means that the info window is statically sized to > > the initial sized of the instantiated class, which is h:0 w:0. > > > Any way to get around this? I've been digging into the API to find a > > way to force the info window to resize itself, using invalidateSize() > > or similar method, but I can find nothing of the sort. I'm not even > > entirely clear yet what the info window container is, but it appears > > to be Marker.foreground. Can anyone also confirm this? > > > Thanks > > TJ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-api-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
