Class LayerImplementation<M>

represents an implementation for a Layer for a specific Map

Type Parameters

Hierarchy (view full)

Accessors

  • get className(): string
  • Returns string

Constructors

Methods

  • activates the implementation, if the map is also active. calls initialize (only use internally) Once the promise resolves, the layer can still be inactive, if deactivate was called while initializing the layer.

    Returns Promise<void>

  • interface to initialize this implementation, is used to setup elements which have to be created only once. Has to set this.initialized = true;

    Returns Promise<void>

Properties

_state: LayerState = LayerState.INACTIVE
[moduleIdSymbol]?: string
headers?: Record<string, string>
isDestroyed: boolean
name: string

unique Name

properties: Record<string, unknown>
url: undefined | string