Draw Line This sample shows how to draw a line on the map using the Line Drawing tools. Press the "Draw Line" then start selecting points on the map. When you are done, either click on the first point of the line, double click or press ESC.