For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Type Alias RequestResponseMessageMap
type RequestResponseMessageMap = {
AT: [TileParameters, void];
GCC: [ClusterIDAndSource, Feature[]];
GCEZ: [ClusterIDAndSource, number];
GCL: [GetClusterLeavesParams, Feature[]];
GDA: [GetDashesParameters, GetDashesResponse];
GG: [GetGlyphsParameters, GetGlyphsResponse];
GI: [GetImagesParameters, GetImagesResponse];
GR: [RequestParameters, GetResourceResponse<any>];
IS: [string, void];
LD: [LoadGeoJSONParameters, GeoJSONWorkerSourceLoadDataResult];
LDT: [WorkerDEMTileParameters, DEMData];
LT: [WorkerTileParameters, WorkerTileResult];
RDT: [TileParameters, void];
RM: [undefined, void];
RMT: [TileParameters, void];
RS: [RemoveSourceParams, void];
RT: [WorkerTileParameters, WorkerTileResult];
SI: [string[], void];
SL: [LayerSpecification[], void];
SR: [string, void];
SRPS: [PluginState, PluginState];
UGS: [Record<string, any>, void];
UL: [UpdateLayersParameters, void];
}
AT: [TileParameters, void];
GCC: [ClusterIDAndSource, Feature[]];
GCEZ: [ClusterIDAndSource, number];
GCL: [GetClusterLeavesParams, Feature[]];
GDA: [GetDashesParameters, GetDashesResponse];
GG: [GetGlyphsParameters, GetGlyphsResponse];
GI: [GetImagesParameters, GetImagesResponse];
GR: [RequestParameters, GetResourceResponse<any>];
IS: [string, void];
LD: [LoadGeoJSONParameters, GeoJSONWorkerSourceLoadDataResult];
LDT: [WorkerDEMTileParameters, DEMData];
LT: [WorkerTileParameters, WorkerTileResult];
RDT: [TileParameters, void];
RM: [undefined, void];
RMT: [TileParameters, void];
RS: [RemoveSourceParams, void];
RT: [WorkerTileParameters, WorkerTileResult];
SI: [string[], void];
SL: [LayerSpecification[], void];
SR: [string, void];
SRPS: [PluginState, PluginState];
UGS: [Record<string, any>, void];
UL: [UpdateLayersParameters, void];
}
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.