summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLShapeSource_Private.h
blob: c7eaf3d0a8baef809d3cdfd159a94110f6e751e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#import "MGLFoundation.h"
#import "MGLShapeSource.h"

NS_ASSUME_NONNULL_BEGIN

namespace mbgl {
    namespace style {
        struct GeoJSONOptions;
    }
}

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