Click and hold down on the map to draw a line that will be added to the map. The application will then use the geometry service to project and compute the length of the line.
Distance: