diff options
Diffstat (limited to 'platform/darwin/src/MGLShapeSource_Private.h')
-rw-r--r-- | platform/darwin/src/MGLShapeSource_Private.h | 16 |
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 |