Click to add points and measure distance