osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.72k stars 1.03k forks source link

3D Relief + Auto zoom in Android Auto not focused #21153

Open fillwithjoy1 opened 1 month ago

fillwithjoy1 commented 1 month ago

Description

Zooming in Android Auto doesn't work. Instead it just locks in at the highest zoom possible, which is awkward to use and doesn't use the screen real estate properly.

Steps to reproduce

  1. Use a Android Auto head unit
  2. Start driving with navigations on
  3. Observe the zoom going to max

Actual result

  1. Notice that the zoom is so maxed out that the GPS blip is basically "skipping"

Expected result

  1. Use Google Maps and observe how it resizes the next direction to the screen properly

Your Environment (required)

WARNING Crash-Logs MAY contain information you deem sensitive. Review this CAREFULLY before posting your issue!

OsmAnd Version: 4.8.6
Android/iOS version: 14 (AP2A.240705.004)
Device model: Pixel 6 Pro
Crash-Logs: ?
yuriiurshuliak commented 1 month ago

It seems that this might be related to the navigation profile settings. Could you please clarify how you initiate the route—do you start it on your phone or directly on the car screen?

If you’re starting the route on the car screen, it’s possible that a profile that doesn’t support auto zoom is being activated. To ensure proper functionality, please check that the "Driving" profile is set as the default. You can do this by going to OsmAnd Menu → Settings → App profiles → Edit profile list and ensuring your "Driving" profile is the first in the list, except for the "Browse map" profile, as it isn’t used by Android Auto.

vshcherb commented 4 weeks ago

Probably you can record video later, as we tested it works in 4.9.2.

fillwithjoy1 commented 3 weeks ago

https://github.com/user-attachments/assets/93b87d73-fb92-48ee-875b-e3a8a0880e45

Here, you can notice how the auto-zoom is constantly out of focus and over-zooms compared to Google Maps which is able to keep the next turn in focus. Oh and also the bad performance as well

vshcherb commented 3 weeks ago
  1. The issue with non-smooth location animation is fixed and will be available today-tomorrow in beta build.
  2. Autzoom zoom as I see works, so zoom keep changing
  3. Google Maps has a different design layout so they can center and hide left widgets and put Location in the middle I don't think it's possible for other 3rd party apps, so it's differnet UI template is used where location is in bottom center of right half instead of whole screen.

To get a nicer view I have music displayed on the right pane

fillwithjoy1 commented 3 weeks ago
  1. The issue with non-smooth location animation is fixed and will be available today-tomorrow in beta build.

    1. Autzoom zoom as I see works, so zoom keep changing

    2. Google Maps has a different design layout so they can center and hide left widgets and put Location in the middle I don't think it's possible for other 3rd party apps, so it's differnet UI template is used where location is in bottom center of right half instead of whole screen.

To get a nicer view I have music displayed on the right pane

I'll check that build out then. Also how can I fix the extremely terrible loading performance that OSMAnd exhibits on Android Auto?

vshcherb commented 2 weeks ago

If you mean 30 seconds startup in your video, yes that looks terrible. We didn't reproduce as it takes 3-4 seconds usually. So we will investigate

fillwithjoy1 commented 2 weeks ago

If you mean 30 seconds startup in your video, yes that looks terrible. We didn't reproduce as it takes 3-4 seconds usually. So we will investigate

If it helps, I've got 3D relief on, terrarin shading set to hillside. It seems like 3D relief impacts loading performance drastically.

sjvudp commented 1 week ago

Output30-AV5.mp4

Sorry to ask here: How did you manage to make such video (or screenshot) when using Android Auto?

vshcherb commented 1 week ago

We have fixed lots of AA issues lately and identified separetely following. I believe your issue has to do something with combination of sloweness issues + 3D Relief. We've also introduced a setting for fixed angle 3D for Navigation which should help. So I believe we come back testing once we fix individual issues.

https://github.com/osmandapp/OsmAnd/issues/21259 https://github.com/osmandapp/OsmAnd/issues/21363 https://github.com/osmandapp/OsmAnd/issues/21097 https://github.com/osmandapp/OsmAnd/issues/21361