Skip to content

compileClassify

compileClassify(record): CompiledClassify

Defined in: packages/core/src/classify/compile.ts:373

Compile a record to MapLibre expressions.

ParameterType
recordClassifyRecord

CompiledClassify

A pending record (a method: before its data) compiles to the flat no-data colour — usually nothing is drawn with it yet, but a source read by view never gets computed breaks and keeps it — and to its final filter, which never depends on the breaks.