summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLClockDirectionFormatter.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLClockDirectionFormatter.h')
-rw-r--r--platform/darwin/src/MGLClockDirectionFormatter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/darwin/src/MGLClockDirectionFormatter.h b/platform/darwin/src/MGLClockDirectionFormatter.h
index a428f51c63..86a9452846 100644
--- a/platform/darwin/src/MGLClockDirectionFormatter.h
+++ b/platform/darwin/src/MGLClockDirectionFormatter.h
@@ -10,7 +10,7 @@ NS_ASSUME_NONNULL_BEGIN
of headings relative to the user, known as <i>clock positions</i>. For
example, a value of `90` may be formatted as “3 o’clock”, depending on the
locale.
-
+
Use this class to create localized heading strings when displaying directions
relative to the user’s current location and heading. To format a direction
irrespective of the user’s orientation, use `MGLCompassDirectionFormatter`
@@ -21,14 +21,14 @@ MGL_EXPORT
/**
The unit style used by this formatter.
-
+
This property defaults to `NSFormattingUnitStyleMedium`.
*/
@property (nonatomic) NSFormattingUnitStyle unitStyle;
/**
Returns a clock position string for the provided value.
-
+
@param direction The heading, measured in degrees, where 0° means “straight
ahead” and 90° means “directly to your right”.
@return The clock position string appropriately formatted for the receiver’s