In my website on the contact me page I have a button for showing the users location on Google Map. But I am confused about its text.
Should it be 'Show my Location' or should it be 'View your Location'?
Show my location.
See the top answer to this question: "Your" vs "My" in user interfaces
When users tell the program what to do, use 'my' (e.g. show my location).
When the program asks the user, use 'your' (e.g. do you want to share your location?).