diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2018-07-05 15:08:24 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2018-07-09 16:02:40 -0700 |
commit | f11ab91fc448aca1155b42a53aaa77cfce62f412 (patch) | |
tree | a463898359e31efa6852dde646ff88f7b575399a /platform/ios | |
parent | d6a454ba8eb4546a52d941c63bf0331353873ad6 (diff) | |
download | qtlocation-mapboxgl-f11ab91fc448aca1155b42a53aaa77cfce62f412.tar.gz |
[ios, macos] Convert predicate options to collators
Diffstat (limited to 'platform/ios')
-rw-r--r-- | platform/ios/CHANGELOG.md | 2 | ||||
-rw-r--r-- | platform/ios/docs/guides/For Style Authors.md | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/platform/ios/CHANGELOG.md b/platform/ios/CHANGELOG.md index 0f6aba3cfd..115a608918 100644 --- a/platform/ios/CHANGELOG.md +++ b/platform/ios/CHANGELOG.md @@ -12,6 +12,8 @@ Mapbox welcomes participation and contributions from everyone. Please read [CONT * Added an `MGLRasterStyleLayer.rasterResamplingMode` property for configuring how raster style layers are overscaled. ([#12176](https://github.com/mapbox/mapbox-gl-native/pull/12176)) * `-[MGLStyle localizeLabelsIntoLocale:]` and `-[NSExpression mgl_expressionLocalizedIntoLocale:]` can automatically localize labels into Japanese or Korean based on the system’s language settings. ([#12286](https://github.com/mapbox/mapbox-gl-native/pull/12286)) +* The `c` and `d` options are supported within comparison predicates for case and diacritic insensitivity, respectively. ([#12329](https://github.com/mapbox/mapbox-gl-native/pull/12329)) +* Added the `collator` and `resolved-locale` expression operators to more precisely compare strings in style JSON. A subset of this functionality is available through predicate options when creating an `NSPredicate`. ([#11869](https://github.com/mapbox/mapbox-gl-native/pull/11869)) * Fixed a crash when trying to parse expressions containing legacy filters. ([#12263](https://github.com/mapbox/mapbox-gl-native/pull/12263)) ### Networking and storage diff --git a/platform/ios/docs/guides/For Style Authors.md b/platform/ios/docs/guides/For Style Authors.md index e3e2eca603..24a2f7d3a4 100644 --- a/platform/ios/docs/guides/For Style Authors.md +++ b/platform/ios/docs/guides/For Style Authors.md @@ -322,6 +322,7 @@ In style specification | Method, function, or predicate type | Format string syn -----------------------|-------------------------------------|--------------------- `array` | | `boolean` | | +`collator` | `NSComparisonPredicateOptions` | `'Québec' =[cd] 'QUEBEC'` `literal` | `+[NSExpression expressionForConstantValue:]` | `%@` representing `NSArray` or `NSDictionary` `number` | | `string` | | |