osmandapp / OsmAnd-iOS

OsmAnd for iOS
Other
282 stars 91 forks source link

The Next Turn and Distance to Destination widgets don’t update sensibly #3738

Closed kevinp2 closed 3 months ago

kevinp2 commented 4 months ago

Description

On a long road trip, these widgets seem to update on some kind of 10 km or 5 km interval. They should update at least every kilometer.

Steps to reproduce

I started a trip trace and drove along taking screenshots.

Actual result

The trip trace km number is on the right panel, second last item. I took some screenshots. Note how the widgets updated or didn’t update.

Expected result

The widgets should update at least every kilometer.

Your Environment (required)

OsmAnd Version: 4.7.6.3
Android/iOS version: iOS 17.4.1
Device model: iPhone 15 Pro Max
yuriiurshuliak commented 4 months ago

The bug has been reproduced. To reproduce, build the navigation profile for a car for a route longer than 40 kilometers and enable the Next Turn and Distance to Destination widgets. Then, turn on the navigation simulation. During the simulation, you’ll notice that the Next Turn and Distance to Destination widgets do not update correctly at short distances. In my video, the widgets initially display 40 kilometers, then suddenly change to 30 kilometers after covering 10 kilometers.

Here is an example of a route on the Web version: https://test.osmand.net/map/navigate/?start=52.125308,-116.986278&end=52.388035,-117.374797&profile=car#11/52.2145/-117.2433

OsmAnd TestFlight 4.7.7.1

https://github.com/osmandapp/OsmAnd-iOS/assets/127092082/bc28c592-3a5c-4ba7-ae7e-3d7fab6deb07

vshcherb commented 4 months ago

To do

DmitrySvetlichny commented 3 months ago

https://github.com/osmandapp/OsmAnd-iOS/pull/3781