diff options
Diffstat (limited to 'platform/darwin/src/MGLShapeSource_Private.h')
-rw-r--r-- | platform/darwin/src/MGLShapeSource_Private.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/platform/darwin/src/MGLShapeSource_Private.h b/platform/darwin/src/MGLShapeSource_Private.h index af5dc33f96..584a5a4b30 100644 --- a/platform/darwin/src/MGLShapeSource_Private.h +++ b/platform/darwin/src/MGLShapeSource_Private.h @@ -1,12 +1,21 @@ #import "MGLShapeSource.h" #import "MGLShapeSource_Private.h" -#include <mbgl/style/sources/geojson_source.hpp> +NS_ASSUME_NONNULL_BEGIN + +namespace mbgl { + namespace style { + class GeoJSONOptions; + struct GeoJSONSource; + } +} @interface MGLShapeSource (Private) - (instancetype)initWithRawSource:(mbgl::style::GeoJSONSource *)rawSource; -- (mbgl::style::GeoJSONOptions)geoJSONOptions; - @end + +mbgl::style::GeoJSONOptions MGLGeoJSONOptionsFromDictionary(NS_DICTIONARY_OF(MGLShapeSourceOption, id) *options); + +NS_ASSUME_NONNULL_END |