For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Class Worker$1

The Worker class responsible for background thread related execution

Index

Constructors

Properties

actor: Actor
availableImages: { [_: string]: string[] }
demWorkerSources: { [_: string]: { [_: string]: RasterDEMTileWorkerSource } }

This holds a cache for the already created DEM worker source instances. The cache is build with the following hierarchy: [mapId][sourceType]: DEM worker source instance sourceType can be 'raster-dem' for example

externalWorkerSourceTypes: { [_: string]: WorkerSourceConstructor }
globalStates: Map<string, Record<string, any>>
layerIndexes: { [_: string]: StyleLayerIndex }
referrer: string
workerSources: { [_: string]: { [_: string]: { [_: string]: WorkerSource } } }

This holds a cache for the already created worker source instances. The cache is build with the following hierarchy: [mapId][sourceType][sourceName]: worker source instance sourceType can be 'vector' for example

Was this helpful?