MTAddImageOptions

data class MTAddImageOptions(val sdf: Boolean? = null, val pixelRatio: Double? = null)

Options used when registering an image in the current map style.

Parameters

sdf

Whether the image should be interpreted as a signed distance field.

pixelRatio

Override pixel ratio for the image. Must be greater than 0 when provided.

Constructors

constructor(sdf: Boolean? = null, pixelRatio: Double? = null)

Properties

val sdf: Boolean? = null