osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.61k stars 1.01k forks source link

Dynamic look ahead #17318

Open sonora opened 1 year ago

sonora commented 1 year ago

First suggested by @jsgblom, let me make sure this will not be overlooked without consideration:

We could introduce a new, fourth option for where your position is placed on the screen, called "Dynamic look ahead".

It would dynamically place the position icon on a centered ellipse.

I have never seen this in action, but potentially it is a novel and useful feature for users in "North is up" Map orientation over the static "Center" placement? Where e.g. smaller devices in portrait mode today have little look ahead when moving east or west? Or when moving north-east with many widgets displayed in the right column?

jsgblom commented 1 year ago

Off course, I'm in favour!

I've been using it for quite some years now with the iOS app Pocket Earth. (I suggested it back then and they implemented it nicely.) I attached some screen shots. Also, note the arrow red/green, indicating portside/starboard which is handy as a reference and makes the position-arrow stand out visually.

tempImagekBtcrJ

vshcherb commented 1 year ago

It sounds interesting but animation between changing orientation is not smooth. So if you change direction 180 degree map will start moving and same time rotating around the ellipse.

vshcherb commented 1 year ago

Also there is an issue what's the center of the screen cause it looks like center is related to my location bearing but if you pan the map you don't have the center connected to my location and it becomes very tricky where to open context menu what other actions (widget) related to the center will do

sonora commented 1 year ago

Yes, animation could be a problem, I think. Particularly when you start/stop moving, and/ or we cut over from using movement to compass as basis. (That's why I thought we may try to scale the ellipse size with speed, contracting it to the mere center point for speed zero. Not sure it's a valid idea.)

The "center of map" question may be easier, because I think this mechanism would likely be applied only

jsgblom commented 1 year ago

To see how Look Ahead in North-Up functions, have a look at Pocket Earth on an iPhone. Install the free version and go to Settings » GPS & Compass:

Hybrid means it will use compass heading when going slow (≈ 5km/u) and Course (moving direction) when going faster than ≈ 5km/u. (They use a window and Kalman filter to switch between the two so it is not switching all the time when going around 5km/u.)

In my opinion the "center of map" in North-Up should always be the center of the screen. BTW: when Location position on screen is set to Bottom it should also be in the center with North-Up. Now I can't use the Bottom setting because it is really awkward to have the map-center at the bottom in North-Up. (Same line of thinking goes for the 2.5D view, which is only useful when you are rotating the map in the direction you are going – compass heading, course or manually.)

ossilator commented 2 weeks ago

this sounds a lot like #6307.