In this ESRI measurement widget sample
https://developers.arcgis.com/javascript/jssamples/widget_measurement.html
when you draw a line, it dynamically displays the segment length. And, when you measure subsequent segments lengths, it add it to the previous length.
My question is: How can I add another result which dynamically shows the current segment length?
Any thoughts?
Thanks Ann