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

    Interface StyleExpressionInputs

    What one evaluation reads.

    See mln_style_expression_inputs in the C API reference.

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

    The image IDs that the image expression reports as available. The expression reports any other ID as unavailable.

    canonicalTileId?: CanonicalTileId

    The tile that holds the feature, which the within and distance expressions need to place its geometry.

    colorRampParameter?: number

    The value of the heatmap-density and line-progress expressions, and of the elevation expression in a color-relief layer.

    elevation?: number

    The value of the elevation expression outside a color-relief layer.

    feature?: string

    One UTF-8 GeoJSON Feature that feature data expressions read.

    featureState?: string

    A UTF-8 JSON object that the feature-state expression reads.

    globalState?: string

    A UTF-8 JSON object that the global-state expression reads.

    zoom?: number

    The value of the zoom expression.