Interface AttributeProvider

baseclass for all Objects

interface AttributeProvider {
    [moduleIdSymbol]?: string;
    isDestroyed: boolean;
    name: string;
    properties: Record<string, unknown>;
    get className(): string;
    augmentFeature(feature: EventFeature): Promise<void>;
    augmentFeatures(features: EventFeature[], extent?: Extent): Promise<void>;
    destroy(): void;
    getLogger(): Logger;
    toJSON(_defaultOptions?: VcsObjectOptions): VcsObjectOptions;
}

Hierarchy (view full)

Implemented by

Accessors

  • get className(): string
  • Returns string

Methods

  • Augments multiple features with attributes from the provider

    Parameters

    • features: EventFeature[]
    • Optionalextent: Extent

      optional extent in webmercator to limit attribute lookup on certain providers.

    Returns Promise<void>

Properties

[moduleIdSymbol]?: string
isDestroyed: boolean
name: string

unique Name

properties: Record<string, unknown>