Skip to content

RequestResponseMessageMap

RequestResponseMessageMap: object

This is basically a mapping between all the calls that are made to and from the workers. The key is the event name, the first parameter is the event input type, and the last parameter is the output type.

Type declaration

AT

AT: [TileParameters, void]

GCC

GCC: [ClusterIDAndSource, GeoJSON.Feature[]]

GCEZ

GCEZ: [ClusterIDAndSource, number]

GCL

GCL: [GetClusterLeavesParams, GeoJSON.Feature[]]

GD

GD: [LoadGeoJSONParameters, GeoJSON.GeoJSON]

GG

GG: [GetGlyphsParamerters, GetGlyphsResponse]

GI

GI: [GetImagesParamerters, GetImagesResponse]

GR

GR: [RequestParameters, GetResourceResponse<any>]

IS

IS: [string, void]

LD

LD: [LoadGeoJSONParameters, GeoJSONWorkerSourceLoadDataResult]

LDT

LDT: [WorkerDEMTileParameters, DEMData]

LT

LT: [WorkerTileParameters, WorkerTileResult]

RDT

RDT: [TileParameters, void]

RM

RM: [undefined, void]

RMT

RMT: [TileParameters, void]

RS

RS: [RemoveSourceParams, void]

RT

RT: [WorkerTileParameters, WorkerTileResult]

SI

SI: [string[], void]

SL

SL: [LayerSpecification[], void]

SR

SR: [string, void]

SRPS

SRPS: [PluginState, PluginState]

UL

UL: [UpdateLayersParamaeters, void]

Source

src/util/actor_messages.ts:115