On this page

Type Alias CompositeExpression

type CompositeExpression = {
    _globalState: Record<string, any>;
    evaluate: (
        globals: GlobalProperties,
        feature?: Feature,
        featureState?: FeatureState,
        canonical?: ICanonicalTileID,
        availableImages?: string[],
        formattedSection?: FormattedSection,
    ) => any;
    globalStateRefs: Set<string>;
    interpolationFactor: (
        input: number,
        lower: number,
        upper: number,
    ) => number;
    interpolationType: InterpolationType;
    isStateDependent: boolean;
    kind: "composite";
    zoomStops: number[];
}
Index

Properties

_globalState: Record<string, any>
evaluate: (
    globals: GlobalProperties,
    feature?: Feature,
    featureState?: FeatureState,
    canonical?: ICanonicalTileID,
    availableImages?: string[],
    formattedSection?: FormattedSection,
) => any
globalStateRefs: Set<string>
interpolationFactor: (input: number, lower: number, upper: number) => number
interpolationType: InterpolationType
isStateDependent: boolean
kind: "composite"
zoomStops: number[]
Was this helpful?
SDK JS
Reference
CompositeExpression