[darwin] arbitrary offline region geometries

This commit is contained in:
Ivo van Dongen
2018-03-27 00:39:59 +03:00
committed by Ivo van Dongen
parent 4fedcf8d06
commit ca0f2f925d
18 changed files with 409 additions and 29 deletions

View 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