Select to view content in your preferred language

How to have a auto-size info window

573
1
03-13-2014 07:41 AM
Chang-HengYang
Regular Contributor
Hi All,

Thank you for your time in advance. I am wondering if an info window could be sized by the users. I tried to use 'overflow = true"' or 'resize = "true" '. However, it did not work. Please let me know your valuable opinions.

Thanks,
Hank
0 Kudos
1 Reply
RichardMoussopo
Frequent Contributor

You can set the width and the height of the infoWindow using

map.infoWindow.resize(width, height);

0 Kudos