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

    Interface StyleExpressionInputs

    The inputs that a style expression reads while it evaluates.

    See mln_style_expression_inputs in the C API reference.

    interface StyleExpressionInputs {
        availableImages?: readonly string[];
        canonicalTileId?: CanonicalTileId;
        colorRampParameter?: number;
        feature?: unknown;
        featureState?: unknown;
        globalState?: unknown;
        zoom?: number;
    }
    Index
    availableImages?: readonly string[]

    The IDs of the images that image treats as available.

    canonicalTileId?: CanonicalTileId

    The tile that holds the feature. within and distance need it to read the feature's geometry.

    colorRampParameter?: number

    The value of heatmap-density, line-progress, and elevation.

    feature?: unknown

    The feature to evaluate against, as a GeoJSON feature, or empty for none.

    featureState?: unknown

    The feature's state, as a JSON object, or empty for none.

    globalState?: unknown

    The values that global-state reads, as a JSON object, or empty for none.

    zoom?: number