Show coordinates and add line on click