dcaliste / maep-qt

A map viewer for Jolla Sailfish OS
29 stars 14 forks source link

Show current position on map #35

Open sbridger opened 5 years ago

sbridger commented 5 years ago

Show current (gps) position on map. i.e. a tracking dot or target or compass arrow

dcaliste commented 5 years ago

I'm surprise you don't have the blue dot corresponding to your current position. I've only a JollaC and the GPS there is working nicely, having a fix usually in less than a minute.

In the setting page, you can check that the GPS refresh rate is not zero. Then you'll have to wait for a fix. When you have one the satelite icon on the bottom right will become enabled and you can tap on it to centre the map on your position.

sbridger commented 5 years ago

Seems there is a subtle gps bug that I was only getting rare gps updates until I selected high-accuracy-via-mozilla option then it started to run, No gps, no dot.

The targets and blue dots are too small for me on xa2 screen.

I was also confused that I expected direction to be compass bearing, but have just realised that it is gps direction-of-travel. (you will see my closed bug report)

sbridger commented 5 years ago

I find in my current map sw, that it is an issue that it's not that clear that gps position is updating, and clearly I was also having this issue with sfos gps too.

You might show GPS activity with an icon like this one that I use in Realterm to show serial status and activity. The colored corner squares rotate around 90 degrees when data comes in during the 1/2 second ui update event. You could do this nicely on the gps satellite icon you currently flash

https://www.i2cchip.com/realterm/realterm_animated_all.gif

Moving the coloured corner squares around is a very clear way of showing activity and status changes at the same time, in a small icon (its a lot smaller on the windows status panel or the window icon, than in the browser here)