I am using watchPosition inside of UIWebview to track a users position as follows:
watchId = navigator.geolocation.watchPosition(handle_geolocation_query,handle_errors,{enableHighAccuracy:true});
The callback function handle_geolocation_query is being called continuously, every few seconds, even though the users position doesnt change at all. Isnt it only supposed to be called if the users position changes?
I also tried the above without the enableHighAccuracy and saw the same results.
watchId = navigator.geolocation.watchPosition(handle_geolocation_query,handle_errors,{enableHighAccuracy:true});
The callback function handle_geolocation_query is being called continuously, every few seconds, even though the users position doesnt change at all. Isnt it only supposed to be called if the users position changes?
I also tried the above without the enableHighAccuracy and saw the same results.