On this page

Type Alias RequestResponseMessageMap

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 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];
}
Index

Properties

AT: [TileParameters, void]
GCEZ: [ClusterIDAndSource, number]
IS: [string, void]
RDT: [TileParameters, void]
RM: [undefined, void]
RMT: [TileParameters, void]
RS: [RemoveSourceParams, void]
SI: [string[], void]
SL: [LayerSpecification[], void]
SR: [string, void]
UGS: [Record<string, any>, void]
Was this helpful?
SDK JS
Reference
RequestResponseMessageMap