I've got the latest phonegap 1.2 and put the test code from the docs
in my application. When I run my app both on the simulator (xcode 4.2
simulator 5.0) and on my iPad running 5, I get the error "Geolocation
Error: timeout".
Has anyone else experienced this? Here is my code:
document.addEventListener("deviceready", onDeviceReady, false);
// PhoneGap is ready
//
function onDeviceReady() {
var myOptions = { enableHighAccuracy: true };
navigator.geolocation.getCurrentPosition(onSuccess,
onError,myOptions);
Thanks!