summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Kiley <jmkiley@users.noreply.github.com>2017-01-25 09:33:27 -0800
committerGitHub <noreply@github.com>2017-01-25 09:33:27 -0800
commit35ce4f00e50ea6f16243156cc2927e38832edfe5 (patch)
treebe272d81052963437ed7a78fba0dfe602e7f5168
parent4394c23ae720e7d245637b1a84379058daedd72a (diff)
downloadqtlocation-mapboxgl-35ce4f00e50ea6f16243156cc2927e38832edfe5.tar.gz
Clarify that clustering option is for shape sources (#7837)
* [ios] Clarify that shape source needed for clustering. Fixes #7821.
-rw-r--r--platform/darwin/src/MGLShapeSource.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLShapeSource.h b/platform/darwin/src/MGLShapeSource.h
index a44db69475..995abadda7 100644
--- a/platform/darwin/src/MGLShapeSource.h
+++ b/platform/darwin/src/MGLShapeSource.h
@@ -20,6 +20,8 @@ typedef NSString *MGLShapeSourceOption NS_STRING_ENUM;
This attribute corresponds to the
<a href="https://www.mapbox.com/mapbox-gl-style-spec/#sources-geojson-cluster"><code>cluster</code></a>
source property in the Mapbox Style Specification.
+
+ This option only affects point features within a shape source.
*/
extern const MGLShapeSourceOption MGLShapeSourceOptionClustered;