diff options
Diffstat (limited to 'platform/darwin/include/MGLTilePyramidDownloadRegion.h')
-rw-r--r-- | platform/darwin/include/MGLTilePyramidDownloadRegion.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/platform/darwin/include/MGLTilePyramidDownloadRegion.h b/platform/darwin/include/MGLTilePyramidDownloadRegion.h new file mode 100644 index 0000000000..6269775f19 --- /dev/null +++ b/platform/darwin/include/MGLTilePyramidDownloadRegion.h @@ -0,0 +1,19 @@ +#import <Foundation/Foundation.h> + +#import "MGLDownloadRegion.h" +#import "MGLGeometry.h" + +NS_ASSUME_NONNULL_BEGIN + +@interface MGLTilePyramidDownloadRegion : NSObject <MGLDownloadRegion> + +@property (nonatomic, readonly) MGLCoordinateBounds bounds; +@property (nonatomic, readonly) double minimumZoomLevel; +@property (nonatomic, readonly) double maximumZoomLevel; + +- (instancetype)init NS_UNAVAILABLE; +- (instancetype)initWithStyleURL:(nullable NSURL *)styleURL bounds:(MGLCoordinateBounds)bounds fromZoomLevel:(double)minimumZoomLevel toZoomLevel:(double)maximumZoomLevel NS_DESIGNATED_INITIALIZER; + +@end + +NS_ASSUME_NONNULL_END |