I'm also in the same boat here... maxWidth appears to have no affect whatsoever. I've set maxWidth:150 in my InfoWindowOpts and it's still 200+ px wide.
On Apr 14, 8:26 am, Tony <[email protected]> wrote: > I have similar req of having to change the width of theinfowindow. > What I'm noticing is that there is no issue in making the window > wider, but making it smaller doesnt seem to work. I want the with to > be around 200px. This doesnt seem to work. > > On Apr 9, 11:30 am, Jason Sanford <[email protected]> wrote: > > > > > The max width of anInfoWindowcan be easily changed by: > > myInfoWindow.setOptions({maxWidth:400}); > > > Then you'd want to style your InfowWindow content with the width you'd like > > with CSS: .iwContent{width:400px;} > > > I'm not sure but I think the height is set automatically depending on the > > content you inject. > > > On Fri, Apr 9, 2010 at 2:59 AM, zjm1126 <[email protected]> wrote: > > > i want to set the width and height of theinfowindowusing v3 > > > > thanks > > > > -- > > > 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]<google-maps-js-api-v3%2B > > > [email protected]> > > > . > > > For more options, visit this group at > > >http://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 [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.
