title: Where is the "no-action" callback for navigator.geolocation.getCurrentPosition?
body: <p>When asking the browser for permission to access the current position, what is the best way to determine if the user has either ignored the browser prompt, or selected the "Not now" option? </p>
  
  <p>The timeout doesn't seem to fire for this case.</p>
  
  <pre><code>if(navigator.geolocation) {
      navigator.geolocation.getCurrentPosition(function(position) {
          currentLocation = new google.maps.LatLng(position.coords.latitude, position.coords.longitude);
          callback();
      }, function() {
          currentLocation = default_location;
          callback();
      },{timeout: 5000});
  }
  </code></pre>
  
  <p>A solution I'm using now is to use a default location for currentLocation and refresh the page/view anytime one of the callbacks is fired due to the user answering the browser prompt.</p>