Attempting to get coordinates on button click