Options
All
  • Public
  • Public/Protected
  • All
Menu

An extension to WorkerService, the TilerService implements an asynchronous (message based) service to tile untiled payloads in web workers.

remarks

The TilerService itself lives in the web worker, and communicates with messages by means of a ConcurrentWorkerSet with the application.

The TilerService registers tile indices (parent tile to be subdivided) by handling a RegisterIndexRequest, and can later retrieve tiled payloads from through the TileRequest. The data is sent back in form of a WorkerServiceResponse.

Hierarchy

Index

Constructors

constructor

Properties

Readonly serviceId

serviceId: string

Service id. Must be unique.

tiler

tiler: ITiler = new GeoJsonTiler()

Methods

destroy

  • destroy(): void

Protected handleMessage

  • handleMessage(message: any): void

Protected handleRequest

Static start

Generated using TypeDoc