Builder

class Builder

Constructors

Builder
Link copied to clipboard
open fun Builder()

Functions

build
Link copied to clipboard
open fun build(): MapSnapshotOptions
glyphsRasterizationOptions
Link copied to clipboard
open fun glyphsRasterizationOptions(@Nullable glyphsRasterizationOptions: GlyphsRasterizationOptions): MapSnapshotOptions.Builder
Glyphs rasterization options to use for client-side text rendering.
pixelRatio
Link copied to clipboard
open fun pixelRatio(pixelRatio: Float): MapSnapshotOptions.Builder
Ratio between the number device-independent and screen pixels.
resourceOptions
Link copied to clipboard
open fun resourceOptions(@NonNull resourceOptions: ResourceOptions): MapSnapshotOptions.Builder
The `resource options` to be used by the snapshotter.
size
Link copied to clipboard
open fun size(@NonNull size: Size): MapSnapshotOptions.Builder
Dimensions of the snapshot in `platform pixel` units.