title: How to get the current location of the user?
body: <p>I am setting up a map which will have the store locations nearer to the current location of the user. But I am unable to get that done. I went through the documentation but I couldn't find anything helpful regarding my problem. What I want If I click on the find the location then it should show me the stores nearer to me.</p>
  <p>I have already tried putting a static longitude and latitude and it works fine. I want it to be dynamic.</p>
  <pre><code>mapboxgl.accessToken = 'THE_ACCESS_TOKEN';
  
  // This adds the map to your page
  
  var map = new mapboxgl.Map({
  // container id specified in the HTML
    container: 'map',
  
     // style URL
    style: 'mapbox://styles/mapbox/light-v10',
  
   // initial position in [lon, lat] format
    center: [78.3430302, 17.449968],
  
   // initial zoom
  
   zoom: 14
  });
  </code></pre>
  <p>In the Center, I want dynamic longitude and latitude value (Current location). So that it will show me the stores nearer to my location.</p>