メインコンテンツまでスキップ

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 configuration
  • IMPERIAL - imperial units
  • METRIC - metrics units
Dash.init(
applicationContext = applicationContext,
accessToken = getString(R.string.mapbox_access_token)
) {
unitOfMeasurement = UnitOfMeasurement.AUTO
}
この{Type}は役に立ちましたか?