I'm creating a new ArcGIS Maps SDK for JavaScript 4.28 web application and have been going through and adding each needed widget in sequence (and testing). However, after adding the Measurement widget the mouse now defaults to the measure tool. How do I change the mouse 'back' to the default (Arrow) icon used for panning-zooming? I only want the measure tool to be active after the user clicks the Measurement button.
//add the measurement widget
var measurement = new Measurement({
view: view,
activeTool: "distance",
linearUnit: "imperial"
});
var bgExpand4 = new Expand({
expandIcon: "measure",
view:view,
content: measurement,
label: "Measurement"
}
);
view.ui.add(bgExpand4, "top-right");