diff options
author | Jesse Bounds <jesse@rebounds.net> | 2016-11-30 11:53:34 -0800 |
---|---|---|
committer | Jesse Bounds <jesse@rebounds.net> | 2016-12-01 08:57:41 -0800 |
commit | b2c2d4ebc4041d4ca5d71bf589dfa5826ec5bf46 (patch) | |
tree | 211953b6b09e5f3cfebd97634162dedd45a33482 | |
parent | 7e9457214a0672f4ba21fa48ce5491174633cb68 (diff) | |
download | qtlocation-mapboxgl-b2c2d4ebc4041d4ca5d71bf589dfa5826ec5bf46.tar.gz |
[ios, macos] Update style predicate documentation
Note the support of CONTAINS and the lack of support for case and
diacritic operator modifiers.
-rw-r--r-- | platform/darwin/src/MGLVectorStyleLayer.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/platform/darwin/src/MGLVectorStyleLayer.h b/platform/darwin/src/MGLVectorStyleLayer.h index 13bb9e79a9..e2a755083f 100644 --- a/platform/darwin/src/MGLVectorStyleLayer.h +++ b/platform/darwin/src/MGLVectorStyleLayer.h @@ -52,10 +52,11 @@ NS_ASSUME_NONNULL_BEGIN <li><code>NSNotPredicateType</code> (<code>NOT</code>, <code>!</code>)</li> </ul> - The following aggregate operator is supported: + The following aggregate operators are supported: <ul> <li><code>NSInPredicateOperatorType</code> (<code>IN</code>)</li> + <li><code>NSContainsPredicateOperatorType</code> (<code>CONTAINS</code>)</li> </ul> To test whether a feature has or lacks a specific attribute, compare the attribute to `NULL` or `NIL`. Predicates created using the `+[NSPredicate predicateWithValue:]` method are also supported. String operators and custom operators are not supported. @@ -118,7 +119,9 @@ NS_ASSUME_NONNULL_BEGIN Automatic type casting is not performed. Therefore, a feature only matches this predicate if its value for the attribute in question is of the same type as the - value specified in the predicate. + value specified in the predicate. Also, operator modifiers `c`, `d`, and the + combined `cd` for case and diacritic insensitivity are unsupported for + comparison and aggregate operators that are used in the predicate. */ @property (nonatomic, nullable) NSPredicate *predicate; |