I am using AreaMeasurement2D.
After a measurement is made the panel stays open. I want to allow the map to be printed with the print widget so the measurement shows up in the printout. The problem is that when the print widget is enabled, the measure panel is behind it. It just looks bad. How can I close the measure panel without losing measurement on view? I can make the measure button not active but cannot get the panel to close.
var printExpandWatch = watchUtils.watch(printExpand, "expanded", function (newValue, oldValue) {
if (newValue) {
if (activeWidget) {
document.getElementById("areaButton").classList.remove("active");
}
}
});
