Skip to content

Commit

Permalink
NAVAND-979: support yards and ios/android thresholds parity
Browse files Browse the repository at this point in the history
  • Loading branch information
dzinad committed Jan 5, 2023
1 parent 4fa9622 commit e361c64
Show file tree
Hide file tree
Showing 6 changed files with 774 additions and 207 deletions.
1 change: 1 addition & 0 deletions changelog/unreleased/bugfixes/dd.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Supported displaying distances in yards for imperial UnitType in the UK locale.
1 change: 1 addition & 0 deletions libnavigation-core/api/current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ package com.mapbox.navigation.core.formatter {
public final class MapboxDistanceUtil {
method public com.mapbox.navigation.core.formatter.FormattedDistanceData formatDistance(double distanceInMeters, int roundingIncrement, com.mapbox.navigation.base.formatter.UnitType unitType, android.content.Context context, java.util.Locale locale);
method public com.mapbox.navigation.core.formatter.FormattedDistanceData formatDistance(double distanceInMeters, int roundingIncrement, com.mapbox.navigation.base.formatter.UnitType unitType, android.content.Context context);
method public double formatDistance(double distanceInMeters, int roundingIncrement, com.mapbox.navigation.base.formatter.UnitType unitType, java.util.Locale locale = Locale.getDefault());
method public double formatDistance(double distanceInMeters, int roundingIncrement, com.mapbox.navigation.base.formatter.UnitType unitType);
field public static final com.mapbox.navigation.core.formatter.MapboxDistanceUtil INSTANCE;
}
Expand Down
Loading

0 comments on commit e361c64

Please sign in to comment.