resolveLabelStyle
resolveLabelStyle(
className,style):LabelStyle|undefined
Defined in: labels/label-layer.ts:98
The engine-label styling policy (#224): merge a caller’s inline LabelStyle over
DEFAULT_LABEL_STYLE — a partial override keeps the rest — but when a className is
given, return only the explicit style (possibly undefined): the class’s CSS keeps full
control, since an inline default would beat it. Shared so other engines lift the exact same
policy (#223); pass the result as LabelLayer’s style.
Parameters
Section titled “Parameters”className
Section titled “className”string | undefined
LabelStyle | undefined
Returns
Section titled “Returns”LabelStyle | undefined