dojo.connect(map.infoWindow, "onHide", function () { map.infoWindow.setContent(""); });
Probably is an old question and not interesting for many people, but if everyone has a similar problem, I've found a solution to 'undo' resize method for infoWindow.
Try this (javascript code) at onHide event for infoWindow:
try {
map.infoWindow.setContent(' ');
dojo.style(map.infoWindow._contentPane,'max-height','');
dojo.forEach(map.infoWindow._sizers,function(o){dojo.style(o,'width','');});
} catch(e) {}
Live Long and Prosper
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.