跳到主要内容

flywave-mapview.workerbaseddecoder.configure

Home > @flywave/flywave-mapview > WorkerBasedDecoder > configure

WorkerBasedDecoder.configure() method

Configure tile decoder service in workers.

Signature:

configure(options?: DecoderOptions, customOptions?: OptionsMap): void;

Parameters

Parameter

Type

Description

options

DecoderOptions

(Optional) Options that will be applied to the styles

customOptions

OptionsMap

(Optional) new options, undefined options are not changed

Returns:



void

## Remarks

Broadcasts to all \[\[TileDecoderService\]\]s running in worker pool.