Skip to main content

Units

It is possible how UX Framework selects units of measurement. There are 3 available options:

  • AUTO - SDK selects basing on devices configuration
  • IMPERIAL - imperial units
  • METRIC - metrics units
Dash.init(
applicationContext = applicationContext,
accessToken = getString(R.string.mapbox_access_token)
) {
unitOfMeasurement = UnitOfMeasurement.AUTO
}
Was this page helpful?