Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1
The list of the topics, classes, interfaces, controls, modules, global methods by category, global methods by name, screenshots, licenses and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | MapKit | MBS MacFrameworks Plugin | 19.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
You use a distance formatter when you need to display distances to the user or when you want to parse user-specified text to obtain a numerical value for a distance. When formatting strings containing distances, a distance formatter object takes into account the user’s locale and language settings. You can also specify a custom locale or custom units for any distances that you format.
Constant | Value | Description |
---|---|---|
UnitsDefault | 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. |
UnitsImperial | 2 |
The format uses imperial units. |
UnitsImperialWithYards | 3 |
The format uses imperial units that include measurements in yards. |
UnitsMetric | 1 |
The format uses metric units. |
Constant | Value | Description |
---|---|---|
UnitStyleAbbreviated | 1 |
Use abbreviated units. For example, use the abbreviation km instead of kilometer. |
UnitStyleDefault | 0 |
The decision to abbreviate is based on the current locale and user language settings. |
UnitStyleFull | 2 |
Spell out units in full. For example, use kilometer instead of the abbreviation km. |
This class has no sub classes.
The items on this page are in the following plugins: MBS MacFrameworks Plugin.
MKDirectionsResponseMBS - MKETAResponseMBS