flywave-mapview.workerbasedtiler
Home > @flywave/flywave-mapview > WorkerBasedTiler
WorkerBasedTiler class
Tiler based on [[ConcurrentWorkerSet]].
Tiles payloads using workers running in separate contexts (also known as WebWorkers): - connection establishment, - sends tile requests, - configuration.
Signature:
export declare class WorkerBasedTiler implements ITiler
Implements: ITiler
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Creates a new |
Methods
Method | Modifiers | Description |
|---|---|---|
Connects to [[WorkerServiceManager]]s in underlying [[ConcurrentWorkerSet]] and creates dedicated [[TilerService]]s in all workers to serve tiling requests. | ||
Dispose of dedicated tiler services in workers and remove reference to underlying [[ConcurrentWorkerSet]]. | ||
Retrieves a tile for a previously registered index. | ||
Register index in the tiler. Indexes registered in the tiler can be later used to retrieved tiled payloads using | ||
Update index in the tiler. Indexes registered in the tiler can be later used to retrieved tiled payloads using |