var nodeMeasure = dojo.byId('measureWindow'); if (dojo.coords(nodeMeasure).h > 0) { WipeOutControl(nodeMeasure, 300); measurement.clearResult(); measurement.setTool("location", false); measurement.setTool("distance", false); measurement.setTool("area", false); } dijit.byId('btnMeasure').setAttribute('checked', false);
//Dojo function to animate address container function WipeOutControl(node, duration) { dojo.fx.wipeOut({ node: node, duration: duration }).play(); }
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.