Thread: [SailfishOS] Mapbox GL Native QML plugin
View Single Post
Posts: 1,414 | Thanked: 7,547 times | Joined on Aug 2016 @ Estonia
#30
Originally Posted by m4r0v3r View Post
I've been quietly ripping off your poor-maps code :P Very handy. One thing I was confused about is the GPS itself, is there anyway to reliable check if it has lock since most flags come back as valid when lock hasn't actually been achieved yet
I actually don't know how to query status of GPS. In Poor Maps, GPS uncertainty is used and shown. Maybe its sufficient for you as well?

From my understanding, location can be provided by many different sources and its up to Qt configuration to deal with such details as GPS lock. We can just use the data as given and not worry whether it was obtained via GPS or some other technique.

Last edited by rinigus; 2017-12-11 at 09:22. Reason: typo
 

The Following 3 Users Say Thank You to rinigus For This Useful Post: