For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Type Alias StyleFunction

type StyleFunction = {
    evaluate: (globals: GlobalProperties, feature?: Partial<Feature>) => any;
    interpolationFactor?: (
        input: number,
        lower: number,
        upper: number,
    ) => number;
    interpolationType?: InterpolationType | null;
    kind: "source" | "camera" | "composite";
    zoomStops?: number[];
}
Index

Properties

evaluate: (globals: GlobalProperties, feature?: Partial<Feature>) => any
interpolationFactor?: (input: number, lower: number, upper: number) => number
interpolationType?: InterpolationType | null
kind: "source" | "camera" | "composite"
zoomStops?: number[]
Was this helpful?