GPS Status

  • 1
  • Question
  • Updated 9 years ago
Cn we get a way to check the status of the GPS? I would like to display a notice to the user while the GPS is getting a lock, then start displaying the GPS data once it is 'live'.
Photo of SCGrant327

SCGrant327

  • 19 Posts
  • 0 Reply Likes
  • confident

Posted 9 years ago

  • 1
Photo of Hardeep Shoker

Hardeep Shoker

  • 1941 Posts
  • 89 Reply Likes
A simple work around would be as follows:

before the function is called for a gps api call a function that will show some sort of status.

Once the gps api has completed there is a success callback that can be called, in there you may display any message you like to notify the use that the gps has loaded it's data.

Hardeep Shoker