measure-start and end events works for point or straight line polylines, but this condition fails when it is polygon or an area with multiple edges/corners
var measurement = new Measurement({
map: map
}, dom.byId("measurementDiv"));
measurement.startup();
Any suggestions?
Thanks