Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

New Contributor
Posts: 8
Registered: ‎11-12-2012
My Device: 9800
My Carrier: Koodo

BB10 PositionOptions - timeout

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