thanks
i want to set the width and height of the infowindow using 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 google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
On Apr 9, 11:30 am, Jason Sanford <jasonsanf...@gmail.com> wrote:
> The max width of an InfoWindow can 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 <zjm1...@gmail.com> wrote:
> > i want to set the width and height of the infowindow using 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
> > google-map...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-maps-js-a...@googlegroups.com<google-maps-js-api-v3%2Bunsu...@googlegroups.com>
Secondly, is there a reason for this? 250px width is a pretty large
area considering some maps can be pretty small (ie mobile devices)
I'd prefer the min width to be whatever the combined corner radii are
(something like 30px) I don't see any reason why this isn't the case.