* [ios] Update label localization * [ios, macos] Move MGLVectorSource+MBXAdditions.h to darwin. * [ios, macos] Adapt Mapbox Streets to the user preferred language. * [ios, macos] Clarify style localization documentation. * [ios, macos] Update localization examples * [ios, macos] Add style language reset to original. * [ios, macos] Update changelogs. * [ios, macos] Rename Vector Source Additions to MGL standard. * [ios, macos] Add suport for stop localization.
16 lines
373 B
Objective-C
16 lines
373 B
Objective-C
#import <Mapbox/Mapbox.h>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface MGLVectorSource (MGLAdditions)
|
|
|
|
+ (NSString *)preferredMapboxStreetsLanguage;
|
|
|
|
- (NS_DICTIONARY_OF(NSString *, NSString *) *)localizedKeysByKeyForPreferredLanguage:(nullable NSString *)preferredLanguage;
|
|
|
|
@property (nonatomic, readonly, getter=isMapboxStreets) BOOL mapboxStreets;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|