How to add a button :"Get my location" in page views
You can use the IP Geolocation Views &amp; Maps module for that task. It will provide you with a block that contains a button with the asked functionality. The user location will be determined via several methods:


  Finally IPGV&amp;M provides a set of visitor location retrieval
  technologies, both IP and HTML5-based, so that you can track where
  past visits came from and where current visitors are located,
  superimposing their moving positions as markers on your maps.


Please read carefully about the requirements.