amnalk

How to resize infoWindow automatically based on the content?

Discussion created by amnalk on Oct 22, 2013
Latest reply on Nov 22, 2013 by bob_carr
Hi,

I'm using infoWindow to display some text to the user. The content of the infoWindow is dynamically generated HTML formatted text. The problem here is, infoWindow shows the text by adding scroll bars.

I need to re-size the window to avoid the scroll bars. infoWindow.resize() method can't be used as the HTML text may have tables, new paragraphs or any thing.

Please help me to re-size the infoWindow automatically based on the content.
[ATTACH=CONFIG]28506[/ATTACH]
Regards,
Amnalk

Attachments

Outcomes