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
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.