Skip to content

resolveClassify

resolveClassify(config, layerType): ClassifyRecord

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

Resolve an authored (validated) classify: block for a layer type.

ParameterType
configClassifyConfig
layerTypestring

ClassifyRecord

A method: block comes back pending — no breaks — until withData sees its dataset. Its colors are those for the class count asked for; if ties collapse classes, withData re-derives them for the count actually drawn.