dojo.connect(map.infoWindow._hide, "onclick", function(){ //your code here. This will only be called when a user clicks the "x" or close button. //The infoWindow also has an onhide event that is called more often ( whenever the map is clicked or the info window is closed with escape key or close button clicked). });
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.