summaryrefslogtreecommitdiff
path: root/platform/darwin/docs/guides/Predicates and Expressions.md
diff options
context:
space:
mode:
authorJulian Rex <julian.rex@gmail.com>2019-01-14 15:17:13 -0500
committerGitHub <noreply@github.com>2019-01-14 15:17:13 -0500
commitc8c664fbf376b615b3f1e4b2a4d7f1c99b6097be (patch)
tree414451567862d1bca08bcff1798ebb6b6501ad8d /platform/darwin/docs/guides/Predicates and Expressions.md
parent2342b8ee936b9ecce33e152d109a091e505488e6 (diff)
downloadqtlocation-mapboxgl-c8c664fbf376b615b3f1e4b2a4d7f1c99b6097be.tar.gz
[ios, macos] Support getLeaves (and related) clustering methods (#12952) following feature extension API (#13382)
Diffstat (limited to 'platform/darwin/docs/guides/Predicates and Expressions.md')
-rw-r--r--platform/darwin/docs/guides/Predicates and Expressions.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/platform/darwin/docs/guides/Predicates and Expressions.md b/platform/darwin/docs/guides/Predicates and Expressions.md
index 71c869f7fe..0bb26b3bfd 100644
--- a/platform/darwin/docs/guides/Predicates and Expressions.md
+++ b/platform/darwin/docs/guides/Predicates and Expressions.md
@@ -120,7 +120,7 @@ dictionary contains the `floorCount` key, then the key path `floorCount` refers
to the value of the `floorCount` attribute when evaluating that particular
polygon.
-The following special attribute is also available on features that are produced
+The following special attributes are also available on features that are produced
as a result of clustering multiple point features together in a shape source:
<table>
@@ -129,6 +129,16 @@ as a result of clustering multiple point features together in a shape source:
</thead>
<tbody>
<tr>
+ <td><code>cluster</code></td>
+ <td>Bool</td>
+ <td>True if the feature is a point cluster. If the attribute is false (or not present) then the feature should not be considered a cluster.</td>
+</tr>
+<tr>
+ <td><code>cluster_id</code></td>
+ <td>Number</td>
+ <td>Identifier for the point cluster.</td>
+</tr>
+<tr>
<td><code>point_count</code></td>
<td>Number</td>
<td>The number of point features in a given cluster.</td>