views:

520

answers:

2

i want to set the width and height of the infowindow using v3

thanks

A: 

Try adding a div with desired width, height and content inside the InfoWindow using InfoWindow.setContent() method.

Salman A
can change the width ,but can not change the height.
zjm1126
A: 

The info window will adjust its height automatically to fit all the contents, but if you want a width that is different from the standard you have to set it through the InfoWindow options.

I would recommend putting a div with a set height into the infowindow via the setContent.

paullb