FeatureOverrideProvider Interface

An object that customizes the appearance of Features within a Viewport. Only one FeatureOverrideProvider may be associated with a viewport at a time. Setting a new FeatureOverrideProvider replaces any existing provider.

If the provider's internal state changes such that the Viewport should recompute the symbology overrides, the provider should notify the viewport by calling Viewport.setFeatureOverrideProviderChanged.

see Viewport.featureOverrideProvider

Implemented by

Methods

Name Description
addFeatureOverrides(overrides: FeatureSymbology.Overrides, viewport: Viewport): void Add to the supplied overrides any symbology overrides to be applied to the specified viewport.  

Defined in

Last Updated: 08 January, 2020