Create a measuring tool
This sample shows how to use the drawing tools to measure distances and areas.