summaryrefslogtreecommitdiff
path: root/platform/ios/src/UIImage+MGLAdditions.h
blob: 0b4cb4c015c450a302e502533813e1c954a914ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#import <UIKit/UIKit.h>

#include <mbgl/style/image.hpp>

NS_ASSUME_NONNULL_BEGIN

@interface UIImage (MGLAdditions)

- (nullable instancetype)initWithMGLStyleImage:(const mbgl::style::Image *)styleImage;

- (std::unique_ptr<mbgl::style::Image>)mgl_styleImageWithIdentifier:(NSString *)identifier;

@end

NS_ASSUME_NONNULL_END