defaultAppearance

Getter

Establish a default appearance to apply to elements without overrides. If changing the default appearance without also calling emphasizeElements/overrideElements, an explicit refresh must be requested for the change to take effect.

defaultAppearance: FeatureAppearance | undefined

@note Setting this to undefined to undo emphasizeElements or isolateElements leaves the always-drawn/isolated element IDs in place but invisible to getEmphasizedElements, getEmphasizedIsolatedElements, and clearEmphasizedElements. Prefer clearEmphasizedElements or clearEmphasizedIsolatedElements to undo emphasis, which clear both together.

@see setFeatureOverrideProviderChanged

Returns - FeatureAppearance | undefined

Setter

defaultAppearance(appearance: FeatureAppearance): void

Parameter Type Description
appearance FeatureAppearance  

Returns - void

Defined in

Last Updated: 03 September, 2026