var popupHandler = response.clickEventHandle; dojo.connect(dijit.byId("measurePane"), "onShow", function() { dojo.disconnect(popupHandler); console.log("Popups should be disabled"); }); dojo.connect(dijit.byId("measurePane"), "onHide", function() { popupHandler = dojo.connect(map, "onClick", response.clickEventListener); console.log("Popups should be enabled"); });
The original link to the other thread seems to be broken. Here is the updated url: https://community.esri.com/message/61108
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.