[darwin] arbitrary offline region geometries
This commit is contained in:
committed by
Ivo van Dongen
parent
4fedcf8d06
commit
ca0f2f925d
22
platform/darwin/src/MGLShapeOfflineRegion_Private.h
Normal file
22
platform/darwin/src/MGLShapeOfflineRegion_Private.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
#import "MGLOfflineRegion.h"
|
||||
|
||||
#include <mbgl/storage/offline.hpp>
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@protocol MGLShapeOfflineRegion_Private <MGLOfflineRegion>
|
||||
|
||||
/**
|
||||
Initializes and returns an offline region backed by the given C++ region
|
||||
definition object.
|
||||
|
||||
@param definition A reference to an offline region definition backing the
|
||||
offline region.
|
||||
*/
|
||||
- (instancetype)initWithOfflineRegionDefinition:(const mbgl::OfflineGeometryRegionDefinition &)definition;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
Reference in New Issue
Block a user