otsaloma / poor-maps

Maps and navigation for Sailfish OS
https://openrepos.net/content/otsaloma/poor-maps
GNU General Public License v3.0
43 stars 10 forks source link

No results when GPS isn’t available yet. #6

Closed Profpatsch closed 8 years ago

Profpatsch commented 8 years ago

When you do a search from (or to) current location and the GPS is not yet ready, it returns “No results”.

I recommend to check for this first and display a spinning wheel or similar with the title “Waiting for location services to activate”.

otsaloma commented 8 years ago

Is this with AGPS off? Jolla phone or some other device?

On the Jolla phone, with AGPS I always have some crude positioning, so I've never paid attention. There might be other functionality as well that assumes positioning is ready -- I'll need to look through that.

otsaloma commented 8 years ago

If positioning data not yet available

So, no textual explanations, but I assume people who turn AGPS off understand what they're doing, run into this all the time, and will understand subtle hints.

no-gps-1

no-gps-2

no-gps-3

Profpatsch commented 8 years ago

Nice, thanks!

Is AGPS location via wifi access point location database?

otsaloma commented 8 years ago

Is AGPS location via wifi access point location database?

At least on the Jolla phone, AGPS uses "HERE services". I don't know if it's specified anywhere what that means, but by my experience it uses both wifi access point location database (probably only if wifi is on?) and cell towers.

And, in general, Poor Maps uses Qt Positioning, which uses whatever positioning sources that OS or device makers configure it to use.