diff options
Diffstat (limited to 'platform/darwin/src/MGLFeature.h')
-rw-r--r-- | platform/darwin/src/MGLFeature.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLFeature.h b/platform/darwin/src/MGLFeature.h index 8886c8df55..51901d73c0 100644 --- a/platform/darwin/src/MGLFeature.h +++ b/platform/darwin/src/MGLFeature.h @@ -6,6 +6,7 @@ #import "MGLPointAnnotation.h" #import "MGLPointCollection.h" #import "MGLShapeCollection.h" +#import "MGLCluster.h" NS_ASSUME_NONNULL_BEGIN @@ -186,13 +187,28 @@ MGL_EXPORT #### Related examples See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/runtime-multiple-annotations/"> Dynamically style interactive points</a> example to learn how to initialize - `MGLPointFeature` objects and add it them your map. + `MGLPointFeature` objects and add them to your map. */ MGL_EXPORT @interface MGLPointFeature : MGLPointAnnotation <MGLFeature> @end /** + An `MGLPointFeatureCluster` object associates a point shape (with an optional + identifier and attributes) and represents a point cluster. + + @see `MGLCluster` + + #### Related examples + See the <a href="https://www.mapbox.com/ios-sdk/maps/examples/clustering/"> + Clustering point data</a> example to learn how to initialize + clusters and add them to your map. + */ +MGL_EXPORT +@interface MGLPointFeatureCluster : MGLPointFeature <MGLCluster> +@end + +/** An `MGLPolylineFeature` object associates a polyline shape with an optional identifier and attributes. |