Click the map two or more times to create polylines. The marker wil snap to the polyline at all times. Use your right mouse button to start/stop the snapping to the line.