Skip to content

setMaxParallelImageRequests()

setMaxParallelImageRequests(numRequests: number): void

Sets the maximum number of images (raster tiles, sprites, icons) to load in parallel, which affects performance in raster-heavy maps. 16 by default.

Parameters

Parameter Type
numRequests number

Returns

void

Example

setMaxParallelImageRequests(10);

Defined in

src/index.ts:130