diff options
author | Josh Erb <josh.erb@mapbox.com> | 2018-11-26 13:57:37 -0500 |
---|---|---|
committer | Josh Erb <josherb4@gmail.com> | 2018-11-27 12:51:41 -0500 |
commit | 9d1d4ecdb8bcbb10c8b1f3125ca2d78510856ce9 (patch) | |
tree | 711fbf39977ff032e666631ccb6ac0d8a626c153 /platform/darwin | |
parent | 361982fef83a145769da5c04d1c19731df89921c (diff) | |
download | qtlocation-mapboxgl-9d1d4ecdb8bcbb10c8b1f3125ca2d78510856ce9.tar.gz |
[ios][documentation] link expression guide to NSExpression(MGLAdditions)
Diffstat (limited to 'platform/darwin')
-rw-r--r-- | platform/darwin/docs/guides/Predicates and Expressions.md | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/platform/darwin/docs/guides/Predicates and Expressions.md b/platform/darwin/docs/guides/Predicates and Expressions.md index c70d76b581..71c869f7fe 100644 --- a/platform/darwin/docs/guides/Predicates and Expressions.md +++ b/platform/darwin/docs/guides/Predicates and Expressions.md @@ -10,7 +10,9 @@ This document discusses the specific subset of the predicate and expression syntax supported by this SDK. For a more general introduction to predicates and expressions, consult the _[Predicate Programming Guide](https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/Predicates/AdditionalChapters/Introduction.html)_ -in Apple developer documentation. +in Apple developer documentation. For additional detail on how this SDK has +extended the `NSExpression` class, consult the [`NSExpression(MGLAdditions)`](./Categories/NSExpression(MGLAdditions).html) +section of this documentation. ## Using predicates to filter vector data @@ -555,9 +557,9 @@ expression that contains references to those variables. An input expression, then any number of argument pairs, followed by a default expression. Each argument pair consists of a constant value followed by an expression to produce as a result of matching that constant value. - If the input value is an aggregate expression, then any of the constant values within - that aggregate expression result in the following argument. This is shorthand for - specifying an argument pair for each of the constant values within that aggregate + If the input value is an aggregate expression, then any of the constant values within + that aggregate expression result in the following argument. This is shorthand for + specifying an argument pair for each of the constant values within that aggregate expression. It is not possible to match the aggregate expression itself. </dd> </dl> @@ -731,9 +733,9 @@ operator in the Mapbox Style Specification. See also the <dd> The first argument is one of the following strings denoting curve types: <code>linear</code>, <code>exponential</code>, or <code>cubic-bezier</code>. - + The second argument is an expression providing parameters for the curve: - + <ul> <li>If the curve type is <code>linear</code>, the argument is <code>NIL</code>.</li> <li> @@ -748,7 +750,7 @@ operator in the Mapbox Style Specification. See also the cubic Bézier curve. </li> </ul> - + The third argument is an <code>NSDictionary</code> object representing the interpolation’s stops, with numeric zoom levels as keys and expressions as values. @@ -832,7 +834,7 @@ operator. The first argument is an expression that evaluates to a number, specifying the minimum value in case the target is less than any of the stops in the second argument. - + The second argument is an <code>NSDictionary</code> object representing the interpolation’s stops, with numeric zoom levels as keys and expressions as values. |