Files
MapLibreParticleLab/platform/macos/app/MGLVectorSource+MBXAdditions.h
Minh Nguyễn f431b1b73b [macos] Refactored label localization
Localize only Mapbox Streets v6–v7, and do so more systematically than before.
2016-12-20 21:05:40 -08:00

16 lines
382 B
Objective-C

#import <Mapbox/Mapbox.h>
NS_ASSUME_NONNULL_BEGIN
@interface MGLVectorSource (MBXAdditions)
+ (nullable NSString *)preferredMapboxStreetsLanguage;
- (NS_DICTIONARY_OF(NSString *, NSString *) *)localizedKeysByKeyForPreferredLanguage:(nullable NSString *)preferredLanguage;
@property (nonatomic, readonly, getter=isMapboxStreets) BOOL mapboxStreets;
@end
NS_ASSUME_NONNULL_END