[Google Maps API v3] how to change the size of infowindow

2010-04-09 Thread zjm1126
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-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.



Re: [Google Maps API v3] how to change the size of infowindow

2010-04-09 Thread Jason Sanford
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-maps-js-api...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-maps-js-api-v3+unsubscr...@googlegroups.comgoogle-maps-js-api-v3%2bunsubscr...@googlegroups.com
 .
 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 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.