Units
It is possible to configure what units of measurement are used by the UX Framework. There are 3 available options:
AUTO
- SDK selects basing on devices configurationIMPERIAL
- imperial unitsMETRIC
- metrics units
Dash.init(
applicationContext = applicationContext,
accessToken = getString(R.string.mapbox_access_token)
) {
unitOfMeasurement = UnitOfMeasurement.AUTO
}
Was this page helpful?