Files
MapLibreParticleLab/platform/darwin/src/MGLShapeSource_Private.h
John Firebaugh 98d005792b [darwin] Simplify MGLSource initialization and pointer management
Introduce `-[MGLSource initWithPendingSource:]`, allowing the base class to track the owned `_pendingSource` pointer and implement `-addToMapView:` and `-removeFromMapView:` without any casts.
2017-04-13 10:33:18 -07:00

19 lines
347 B
Objective-C

#import "MGLFoundation.h"
#import "MGLShapeSource.h"
NS_ASSUME_NONNULL_BEGIN
namespace mbgl {
namespace style {
class GeoJSONOptions;
}
}
@interface MGLShapeSource (Private)
@end
MGL_EXPORT
mbgl::style::GeoJSONOptions MGLGeoJSONOptionsFromDictionary(NS_DICTIONARY_OF(MGLShapeSourceOption, id) *options);
NS_ASSUME_NONNULL_END