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 SizeData
SizeData:
| { kind: "constant"; layoutSize: number }
| { kind: "source" }
| {
interpolationType: InterpolationType;
kind: "camera";
layoutSize: number;
sizes: number[];
zoomStops: number[];
}
| {
interpolationType: InterpolationType;
kind: "composite";
maxZoom: number;
minZoom: number;
}
| { kind: "constant"; layoutSize: number }
| { kind: "source" }
| {
interpolationType: InterpolationType;
kind: "camera";
layoutSize: number;
sizes: number[];
zoomStops: number[];
}
| {
interpolationType: InterpolationType;
kind: "composite";
maxZoom: number;
minZoom: number;
}
Per-bucket data for
text-sizeoricon-size. Built in the worker, so it holds plain transferable values, not the size expression itself.