On this page

Type Alias CompositeFunctionSpecification<T>

CompositeFunctionSpecification:
    | {
        default?: T;
        property: string;
        stops: [{ value: number; zoom: number }, T][];
        type: "exponential";
    }
    | {
        default?: T;
        property: string;
        stops: [{ value: number; zoom: number }, T][];
        type: "interval";
    }
    | {
        default?: T;
        property: string;
        stops: [{ value: string | number | boolean; zoom: number }, T][];
        type: "categorical";
    }

Type Parameters

  • T
Was this helpful?
SDK JS
Reference
CompositeFunctionSpecification