summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLVectorTileSource_Private.h
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2018-05-14 13:38:32 -0700
committerMinh Nguyễn <mxn@1ec5.org>2018-05-14 14:12:51 -0700
commitbaf5fd7d01c3618e415389c9dca05886e00ff307 (patch)
treefe9a3b3c9d35595a097e8c0155710a552428f031 /platform/darwin/src/MGLVectorTileSource_Private.h
parent4b1530ff422d9ba77ddb9ef34d64c2e04f356380 (diff)
downloadqtlocation-mapboxgl-baf5fd7d01c3618e415389c9dca05886e00ff307.tar.gz
[ios, macos] Fixed English priority during label localization
Respect English in the Preferred Languages setting even if other Mapbox Streets source–supported languages are listed too.
Diffstat (limited to 'platform/darwin/src/MGLVectorTileSource_Private.h')
-rw-r--r--platform/darwin/src/MGLVectorTileSource_Private.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLVectorTileSource_Private.h b/platform/darwin/src/MGLVectorTileSource_Private.h
index 77521869f1..109f66a432 100644
--- a/platform/darwin/src/MGLVectorTileSource_Private.h
+++ b/platform/darwin/src/MGLVectorTileSource_Private.h
@@ -11,8 +11,6 @@ NS_ASSUME_NONNULL_BEGIN
+ (nullable NSString *)preferredMapboxStreetsLanguage;
+ (nullable NSString *)preferredMapboxStreetsLanguageForPreferences:(NSArray<NSString *> *)preferencesArray;
-- (NS_DICTIONARY_OF(NSString *, NSString *) *)localizedKeysByKeyForPreferredLanguage:(nullable NSString *)preferredLanguage;
-
@end
NS_ASSUME_NONNULL_END