Platforms to show: All Mac Windows Linux Cross-Platform
Back to MKDistanceFormatterMBS class.
MKDistanceFormatterMBS.UnitsDefault = 0
Type | Topic | Plugin | Version |
const | MapKit | MBS MacFrameworks Plugin | 19.0 |
The format uses the locale information to determine which units to use. Some locales mix metric and imperial units so do not assume this means one or the other.
MKDistanceFormatterMBS.UnitsImperial = 2
Type | Topic | Plugin | Version |
const | MapKit | MBS MacFrameworks Plugin | 19.0 |
The format uses imperial units.
MKDistanceFormatterMBS.UnitsImperialWithYards = 3
Type | Topic | Plugin | Version |
const | MapKit | MBS MacFrameworks Plugin | 19.0 |
The format uses imperial units that include measurements in yards.
MKDistanceFormatterMBS.UnitsMetric = 1
Type | Topic | Plugin | Version |
const | MapKit | MBS MacFrameworks Plugin | 19.0 |
The format uses metric units.
MKDistanceFormatterMBS.UnitStyleAbbreviated = 1
Type | Topic | Plugin | Version |
const | MapKit | MBS MacFrameworks Plugin | 19.0 |
Use abbreviated units. For example, use the abbreviation km instead of kilometer.
MKDistanceFormatterMBS.UnitStyleDefault = 0
Type | Topic | Plugin | Version |
const | MapKit | MBS MacFrameworks Plugin | 19.0 |
The decision to abbreviate is based on the current locale and user language settings.
MKDistanceFormatterMBS.UnitStyleFull = 2
Type | Topic | Plugin | Version |
const | MapKit | MBS MacFrameworks Plugin | 19.0 |
Spell out units in full. For example, use kilometer instead of the abbreviation km.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.