Class LayerImplementation<M>

represents an implementation for a Layer for a specific Map

Type Parameters

Hierarchy

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

[moduleIdSymbol]?: string
_initialized: boolean = false
_map: undefined | M
_state: LayerState = LayerState.INACTIVE
headers?: Record<string, string>
isDestroyed: boolean
name: string

unique Name

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

Generated using TypeDoc