Android 2.2.1 bug preventing browser-based geolocation?
<p>On Android, users are getting error code "1" -- which is "permission denied."  However, the users I'm working with were never ASKED permission by the browser for geolocation.</p>

<p>I've tried calling getCurrentPosition with and without "enableHighAccuracy" but the error is the same regardless.</p>

<p>Anyone experienced this?</p>

<pre><code>&lt;script type="text/javascript"&gt;
if (Modernizr.geolocation) {
   navigator.geolocation.getCurrentPosition(show_map, handle_error)
}
function show_map(position) {
  var latitude = position.coords.latitude;
  var longitude = position.coords.longitude;
        if (document.myform) {
            document.myform._lat.value = latitude;
            document.myform._lon.value = longitude;
        }
}
function handle_error(err) {
  alert('Error code: ' + err.code + ' Could not get your location.');
}
&lt;/script&gt;
</code></pre>
