views:

47

answers:

1

Anyone know how to set the width of the InfoWindow in Google Maps? The infowindow is the cartoon like bubble that pops up when you click on a point in Google Maps. I can control the height via CSS but cannot figure out how to change the width (I want thinner than the default infowindow).

I found a reference to maxWidth in the API but I cannot figure out where to put this. Any ideas?

+1  A: 

http://claytonrabenda.com/web-development/how-to-change-size-of-infowindow-in-google-map-with-api

or try setting the width of the DIV that is in the info window

Aaron Saunders
Ugh. I was hoping it would be a simple solution. Thanks for the link, though. I will accept your answer after I give time for a (hopefully) simple fix to be suggested.
gaoshan88