diff options
author | m-stephen <truestyle2005@163.com> | 2019-07-16 11:39:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-16 11:39:34 +0800 |
commit | d2434d07517619d390e2e1f4b7952f6cf2c9e4ff (patch) | |
tree | 80f44eb79ebf47dd2fb7ebf1a5a8835615d61ec9 /platform/darwin/src | |
parent | 3c488e05efdb9415e658fa820504692b906c3443 (diff) | |
download | qtlocation-mapboxgl-d2434d07517619d390e2e1f4b7952f6cf2c9e4ff.tar.gz |
[ios , macos] Exclude CJK resources from offline download by default (#14952)
* [iOS, macOS] exclude CJK glyphs resources download by default.
* [iOS, macOS] update iosapp
* [iOS, macOS] update macOS
* [iOS, macOS] update iOS change log
* [iOS, macOS] update macOS change log
* [iOS, macOS] update comment & add test cases
* Update platform/darwin/test/MGLOfflineRegionTests.m
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>
* Update platform/darwin/test/MGLOfflineRegionTests.m
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>
* Update platform/darwin/test/MGLOfflineRegionTests.m
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>
* Update platform/ios/CHANGELOG.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>
* Update platform/macos/CHANGELOG.md
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>
* Update platform/darwin/test/MGLOfflineRegionTests.m
Co-Authored-By: Jason Wray <friedbunny@users.noreply.github.com>
Diffstat (limited to 'platform/darwin/src')
-rw-r--r-- | platform/darwin/src/MGLOfflineRegion.h | 2 | ||||
-rw-r--r-- | platform/darwin/src/MGLShapeOfflineRegion.mm | 2 | ||||
-rw-r--r-- | platform/darwin/src/MGLTilePyramidOfflineRegion.mm | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/platform/darwin/src/MGLOfflineRegion.h b/platform/darwin/src/MGLOfflineRegion.h index 6a9bdbc399..c668e3bf22 100644 --- a/platform/darwin/src/MGLOfflineRegion.h +++ b/platform/darwin/src/MGLOfflineRegion.h @@ -27,7 +27,7 @@ NS_ASSUME_NONNULL_BEGIN See `MGLIdeographicFontFamilyName` setting. Also, for regions outside of China, Japan, and Korea, these glyphs will rarely appear for non-CJK users. - By default, this property is set to `YES`, so that the offline pack will + By default, this property is set to `NO`, so that the offline pack will include ideographic glyphs. */ @property (nonatomic) BOOL includesIdeographicGlyphs; diff --git a/platform/darwin/src/MGLShapeOfflineRegion.mm b/platform/darwin/src/MGLShapeOfflineRegion.mm index 25b6b8e166..b4f4b5e92a 100644 --- a/platform/darwin/src/MGLShapeOfflineRegion.mm +++ b/platform/darwin/src/MGLShapeOfflineRegion.mm @@ -72,7 +72,7 @@ _shape = shape; _minimumZoomLevel = minimumZoomLevel; _maximumZoomLevel = maximumZoomLevel; - _includesIdeographicGlyphs = YES; + _includesIdeographicGlyphs = NO; } return self; } diff --git a/platform/darwin/src/MGLTilePyramidOfflineRegion.mm b/platform/darwin/src/MGLTilePyramidOfflineRegion.mm index a398d6baa4..73fcaa91d8 100644 --- a/platform/darwin/src/MGLTilePyramidOfflineRegion.mm +++ b/platform/darwin/src/MGLTilePyramidOfflineRegion.mm @@ -68,7 +68,7 @@ _bounds = bounds; _minimumZoomLevel = minimumZoomLevel; _maximumZoomLevel = maximumZoomLevel; - _includesIdeographicGlyphs = YES; + _includesIdeographicGlyphs = NO; } return self; } |