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 NS_REFINED_FOR_SWIFT;
  • Undocumented

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSize:(nonnull MBMSize *)size
                              pixelRatio:(float)pixelRatio
              glyphsRasterizationOptions:(nullable MBMGlyphsRasterizationOptions *)glyphsRasterizationOptions NS_REFINED_FOR_SWIFT;
  • Dimensions of the snapshot in platform pixel units.

    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, GlyphsRasterizationOptions will use NoGlyphsRasterizedLocally mode.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) MBMGlyphsRasterizationOptions *glyphsRasterizationOptions;

    Swift

    var glyphsRasterizationOptions: MBMGlyphsRasterizationOptions? { get }