Hi,

I've got a mobile site with this code in javascript / jquery:

PHP Code:
navigator.geolocation.getCurrentPosition(function(position) {
        
lat=position.coords.latitude;
                
lng=position.coords.longitude;
                
sensor="";
                
codeLatLng(lat,lng,sensor);
         }, function() {
           
handleNoGeolocation(browserSupportFlag);
    },{
maximumAge:60000timeout:2000enableHighAccuracy:true}); 
This seems to work fine for most browser types, IOS, etc, but Android devices are failing. They hit the timeout, and drop down to the error function. Even if the device accepts the request to send its location.

I haven't found much on this on the web - any ideas? The code seems to be running, it's just the "getCurrentPosition" that is timing out.

-Jim