POST
|
Hi Manish, Thank you very much for the quick responses and the assistance. But still I've a issue with resizing as map.infoWindow._contentPane.scrollWidth does not adjust according to the content. Once the infoWindow popups with map.infoWindow._contentPane.scrollWidth + 50 that width remains for ever. As my display content is dynamic, this causes problems. As an example, for the first time content is too large and say map.infoWindow._contentPane.scrollWidth = 500. In the second time, content is very small. But map.infoWindow._contentPane.scrollWidth remains same and infoWindow is too wide to show this small content. Please help. Thanks and Regards, Amnalk
... View more
10-24-2013
01:35 AM
|
0
|
0
|
247
|
POST
|
Hi Manish, Your code works fine for the first time when I clicked on the map. But the width of the dialog box is keep on growing upon opening. Thanks and Regards, Amaranatha
... View more
10-23-2013
10:46 PM
|
0
|
0
|
1335
|
POST
|
Hi Manish, I tried as you suggested by adding a div. But still the issue exists. Please find the sample text for content. <table><tr><td nowrap>1111111111</td><td>22222222222222222222222222</td></tr><tr><td>3333333333</td><td>4444444444444444444444444444444</td></tr><tr><td nowrap>555555555555555</td><td>66666666666666666666666</td></tr><tr><td>77777777777777777</td><td>8888888888888888888888888888</td></tr></table> Please help. Thanks and Regards, Amnalk
... View more
10-23-2013
08:21 PM
|
0
|
0
|
1335
|
POST
|
Hi Manish, The content shown in my actual implementation is generated dynamically and it's a HTML formatted string. It may contain HTML tables (<table></table>), new paragraphs (<p>) and any other HTML tags. That's the reason why I can't find the length of the lengthiest line of the content when previewing. Thanks and Regards, Amnalk
... View more
10-23-2013
07:41 PM
|
0
|
0
|
1335
|
POST
|
Hi John, I tried the resize method as you suggested. It only shrink to fit for height not the width. [ATTACH=CONFIG]28560[/ATTACH] Please advice me on how to made this shrink to fit for width of the infoWindow. Regards, Amnalk
... View more
10-23-2013
07:04 PM
|
0
|
0
|
1335
|
POST
|
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
... View more
10-22-2013
12:52 AM
|
0
|
11
|
14543
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|