Using Draw tool as a "measuring stick"

Discussion created by Sal_Joensen on Mar 28, 2012
Latest reply on Apr 26, 2012 by jeff.pace
I'm trying to figure out how to use the Draw toolset in this sample as a "measuring stick":

What I'm trying to accomplish is that a user will be able to see the distance on the map from a starting point to the end point.

What I already know is that this can be accomplished with a point-to-point distance measurement using the map method toScreen to get the coordinates and then simply calculating the distance (using our old friend Pythagoras) between the two points, but I'm at a loss how to do this with the Draw toolset.