Open GoogleCodeExporter opened 9 years ago
Can you post the correction that you made to get this to work? I'm having a
similar problem on later Android versions.
Original comment by Michael....@gmail.com
on 6 Apr 2011 at 10:04
On line 97:
else if(typeof(window.google)!="undefined" && typeof(google.gears)!="undefined")
{
provider=google.gears.factory.create('beta.geolocation');
pub.getCurrentPosition = function(successCallback, errorCallback, options)
{
function _successCallback(p)
{
if(typeof(p.latitude)!="undefined")
{
successCallback({timestamp:p.timestamp, coords: {latitude:p.latitude,longitude:p.longitude}});
}
else
{
successCallback(p);
}
}
provider.getCurrentPosition(_successCallback,errorCallback,options);
}
}
Original comment by chefq...@gmail.com
on 6 Apr 2011 at 10:10
will look at it and post tomorrow. promise
Original comment by whoiss...@gmail.com
on 6 Apr 2011 at 10:54
Thanks so much both of you!
Original comment by Michael....@gmail.com
on 7 Apr 2011 at 12:41
checked in the change, thanks for the feedback. for some reason the new release
upload wasn't working. file is attached. please try and let me know
Original comment by whoiss...@gmail.com
on 11 Apr 2011 at 11:49
Attachments:
Works great, thanks!
Original comment by chefq...@gmail.com
on 17 Apr 2011 at 8:33
Original issue reported on code.google.com by
chefq...@gmail.com
on 3 Apr 2011 at 7:14