Click the flag. Hold down the mouse to draw. Click the clear button to clear everything.
Sorry that I couldn't do the eraser :(.