summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Erb <josh.erb@mapbox.com>2018-11-26 13:57:37 -0500
committerJosh Erb <josh.erb@mapbox.com>2018-11-27 11:03:28 -0500
commitd97c3c607cbbba938fb51c9590d563d194e97643 (patch)
tree97201c4a726655bb0a730700b5013c0da2acef06
parentcca37e765bf9b853262783a6f7cc3d1a4c72957d (diff)
downloadqtlocation-mapboxgl-upstream/je-expression-doc-link.tar.gz
[ios][documentation] link expression guide to NSExpression(MGLAdditions)upstream/je-expression-doc-link
-rw-r--r--platform/darwin/docs/guides/Predicates and Expressions.md18
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..593bad7b94 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.