public static class ScaleBarOptions.LocaleUnitResolver extends Object
Currently supports differentiating between metric vs imperial system.
Depends on Locale.getDefault() which returns the locale used at application startup.
| Constructor and Description |
|---|
LocaleUnitResolver() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isMetricSystem()
Returns true if the user is in a country using the metric system.
|
© 2015–2019 Mapbox. All rights reserved.