MBMMapSnapshotOptions
@interface MBMMapSnapshotOptions : NSObject
Set of options for taking map snapshot with map snapshotter.
-
Unavailable
Undocumented
Declaration
Objective-C
- (nonnull instancetype)init NS_UNAVAILABLE; -
Unavailable
Undocumented
Declaration
Objective-C
+ (nonnull instancetype)new NS_UNAVAILABLE; -
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithSize:(nonnull MBMSize *)size glyphsRasterizationOptions:(nullable MBMGlyphsRasterizationOptions *)glyphsRasterizationOptions resourceOptions:(nonnull MBMResourceOptions *)resourceOptions NS_REFINED_FOR_SWIFT; -
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initWithSize:(nonnull MBMSize *)size pixelRatio:(float)pixelRatio glyphsRasterizationOptions:(nullable MBMGlyphsRasterizationOptions *)glyphsRasterizationOptions resourceOptions:(nonnull MBMResourceOptions *)resourceOptions NS_REFINED_FOR_SWIFT; -
Dimensions of the snapshot in
platform pixelunits.Declaration
Objective-C
@property (nonatomic, readonly, nonnull) MBMSize *size; -
Ratio between the number device-independent and screen pixels.
Declaration
Objective-C
@property (nonatomic, readonly) float pixelRatio;Swift
var pixelRatio: Float { get } -
Glyphs rasterization options to use for client-side text rendering. By default,
GlyphsRasterizationOptionswill useNoGlyphsRasterizedLocallymode.Declaration
Objective-C
@property (nonatomic, readonly, nullable) MBMGlyphsRasterizationOptions *glyphsRasterizationOptions;Swift
var glyphsRasterizationOptions: MBMGlyphsRasterizationOptions? { get } -
The
resource optionsto be used by the snapshotter.Declaration
Objective-C
@property (nonatomic, readonly, nonnull) MBMResourceOptions *resourceOptions;Swift
var resourceOptions: MBMResourceOptions { get }
MBMMapSnapshotOptions Class Reference