@maplibre/native-ffi
    Preparing search index...

    Interface StyleImageOptions

    Options for a style image, as the [sprite](https://maplibre.org/maplibre-style-spec/sprite/) spec describes them.

    See mln_style_image_options in the C API reference.

    interface StyleImageOptions {
        content?: ImageContent;
        keepUnused?: boolean;
        pixelRatio?: number;
        sdf?: boolean;
        stretchX?: readonly ImageStretch[];
        stretchY?: readonly ImageStretch[];
        textFitHeight?: StyleImageTextFit;
        textFitWidth?: StyleImageTextFit;
    }
    Index
    content?: ImageContent
    keepUnused?: boolean

    Keeps the image after no layer uses it. Without this, the map can remove an image that it asked for through RuntimeEventType.mapStyleImageMissing.

    pixelRatio?: number
    sdf?: boolean
    stretchX?: readonly ImageStretch[]

    The ranges of columns that stretch, in increasing order without overlap.

    stretchY?: readonly ImageStretch[]

    The ranges of rows that stretch, in increasing order without overlap.

    textFitHeight?: StyleImageTextFit
    textFitWidth?: StyleImageTextFit