summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLOfflineRegion.h
blob: a855ec56142da99aeea7c7291fc0ce60d823ec5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

/**
 An object conforming to the `MGLOfflineRegion` protocol determines which
 resources are required by an `MGLOfflinePack` object. At present, only
 instances of `MGLTilePyramidOfflineRegion` may be used as `MGLOfflinePack`
 regions, but additional conforming implementations may be added in the future.
 */
@protocol MGLOfflineRegion <NSObject>

/**
 The number of tiles needed to load one of the style’s sources within the region.
 */
@property (nonatomic, readonly) uint64_t tileCount;

@end

NS_ASSUME_NONNULL_END