From 9faed7293b0585c329f4993b865b1fb820cfab65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Fri, 30 Mar 2018 06:42:47 -0700 Subject: [ios, macos] Eliminated MGLAbstractShapeSource MGLComputedShapeSource is now a direct subclass of MGLSource and sibling of MGLShapeSource. --- platform/darwin/src/MGLComputedShapeSource_Private.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 platform/darwin/src/MGLComputedShapeSource_Private.h (limited to 'platform/darwin/src/MGLComputedShapeSource_Private.h') diff --git a/platform/darwin/src/MGLComputedShapeSource_Private.h b/platform/darwin/src/MGLComputedShapeSource_Private.h new file mode 100644 index 0000000000..e1887caf8d --- /dev/null +++ b/platform/darwin/src/MGLComputedShapeSource_Private.h @@ -0,0 +1,12 @@ +#import "MGLFoundation.h" +#import "MGLTypes.h" +#import "MGLComputedShapeSource.h" + +#include + +NS_ASSUME_NONNULL_BEGIN + +MGL_EXPORT +mbgl::style::CustomGeometrySource::Options MBGLCustomGeometrySourceOptionsFromDictionary(NS_DICTIONARY_OF(MGLShapeSourceOption, id) *options); + +NS_ASSUME_NONNULL_END -- cgit v1.2.1