Skip to content

Config

Config: object

This is a global config object used to store the configuration It is available in the workers as well. Only serializable data should be stored in it.

Type declaration

MAX_PARALLEL_IMAGE_REQUESTS

MAX_PARALLEL_IMAGE_REQUESTS: number

MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME

MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME: number

MAX_TILE_CACHE_ZOOM_LEVELS

MAX_TILE_CACHE_ZOOM_LEVELS: number

REGISTERED_PROTOCOLS

REGISTERED_PROTOCOLS: object

Index signature

[x: string]: AddProtocolAction

WORKER_URL

WORKER_URL: string

Source

src/util/config.ts:15