#import #import #import "MGLTypes.h" NS_ASSUME_NONNULL_BEGIN /** The `MGLCoordinateFormatter` class provides properly formatted descriptions of geographic coordinate pairs. Use this class to create localized coordinate strings when displaying location information to users. */ @interface MGLCoordinateFormatter : NSFormatter /** Returns a coordinate string for the provided value. @param coordinate The coordinate’s value. @return The coordinate string appropriately formatted for the formatter’s locale. */ - (NSString *)stringFromCoordinate:(CLLocationCoordinate2D)coordinate; /** This method is not supported for the `MGLCoordinateFormatter` class. */ - (BOOL)getObjectValue:(out id __nullable * __nullable)obj forString:(NSString *)string errorDescription:(out NSString * __nullable * __nullable)error; @end NS_ASSUME_NONNULL_END