changed posting to get coordinates on final post button click instead of first one