11-29-2012 06:19 PM
Has anyone here successfully set a timeout for geolocation.getCurrentPosition() using the timeout parameter in PositionOptions? I have tried setting it and then using Ripple to delay returning the location until after the timeout, but instead of my error callback being called at the timeout limit, my success callback is called after the delay set in Ripple. (Main test case with timeout at 5000ms and Ripple GPS delay at 30s).
With my timeout not working, and poor GPS coverage coupled with no (current) cellular access for location assistance, this results in the position call never returning.
Currently using WebWorks 22.214.171.124.