summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLShapeSource_Private.h
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/src/MGLShapeSource_Private.h
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/src/MGLShapeSource_Private.h')
-rw-r--r--platform/darwin/src/MGLShapeSource_Private.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLShapeSource_Private.h b/platform/darwin/src/MGLShapeSource_Private.h
index fb5b3b3c0d..c7eaf3d0a8 100644
--- a/platform/darwin/src/MGLShapeSource_Private.h
+++ b/platform/darwin/src/MGLShapeSource_Private.h
@@ -12,4 +12,20 @@ namespace mbgl {
MGL_EXPORT
mbgl::style::GeoJSONOptions MGLGeoJSONOptionsFromDictionary(NSDictionary<MGLShapeSourceOption, id> *options);
+@interface MGLShapeSource (Private)
+
+/**
+ :nodoc:
+ Debug log showing structure of an `MGLFeature`. This method recurses in the case
+ that the feature conforms to `MGLCluster`. This method is used for testing and
+ should be considered experimental, likely to be removed or changed in future
+ releases.
+
+ @param feature An object that conforms to the `MGLFeature` protocol.
+ @param indent Used during recursion. Specify 0.
+ */
+
+- (void)debugRecursiveLogForFeature:(id<MGLFeature>)feature indent:(NSUInteger)indent;
+@end
+
NS_ASSUME_NONNULL_END