toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-map
/
com.mapbox.dash.sdk.map.presentation.format
/
DashDistanceFormatter
/
DistanceUnit
/
Imperial
Imperial
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
data
class
Imperial
(
val
resources
:
Resources
,
val
locale
:
Locale
)
:
DashDistanceFormatter.DistanceUnit
Members
Constructors
Imperial
Link copied to clipboard
constructor
(
resources
:
Resources
,
locale
:
Locale
)
Properties
large
Threshold
Link copied to clipboard
open
override
val
largeThreshold
:
Double
large
Unit
Link copied to clipboard
open
override
val
largeUnit
:
String
locale
Link copied to clipboard
open
override
val
locale
:
Locale
resources
Link copied to clipboard
open
override
val
resources
:
Resources
small
Threshold
Link copied to clipboard
open
override
val
smallThreshold
:
Double
small
Unit
Link copied to clipboard
open
override
val
smallUnit
:
String
Functions
get
Converted
Distance
And
Suffix
Link copied to clipboard
fun
getConvertedDistanceAndSuffix
(
distanceMeters
:
Double
,
roundingIncrement
:
Int
)
:
Pair
<
String
,
String
>