summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLCompassDirectionFormatter.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLCompassDirectionFormatter.h')
-rw-r--r--platform/darwin/src/MGLCompassDirectionFormatter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/darwin/src/MGLCompassDirectionFormatter.h b/platform/darwin/src/MGLCompassDirectionFormatter.h
index 714e1cc035..b4a3087509 100644
--- a/platform/darwin/src/MGLCompassDirectionFormatter.h
+++ b/platform/darwin/src/MGLCompassDirectionFormatter.h
@@ -9,7 +9,7 @@ NS_ASSUME_NONNULL_BEGIN
The `MGLCompassDirectionFormatter` class provides properly formatted
descriptions of absolute headings. For example, a value of `90` may be
formatted as “east”, depending on the locale.
-
+
Use this class to create localized heading strings when displaying directions
irrespective of the user’s current location. To format a direction relative to
the user’s current location, use `MGLClockDirectionFormatter` instead.
@@ -19,14 +19,14 @@ MGL_EXPORT
/**
The unit style used by this formatter.
-
+
This property defaults to `NSFormattingUnitStyleMedium`.
*/
@property (nonatomic) NSFormattingUnitStyle unitStyle;
/**
Returns a heading string for the provided value.
-
+
@param direction The heading, measured in degrees, where 0° means “due north”
and 90° means “due east”.
@return The heading string appropriately formatted for the formatter’s locale.