Set up the TilerService
. The name of the service must be unique
Service id. Must be unique.
Service id. Must be unique.
Destroy the WorkerService
. Cancels all pending requests ad removes itself from the message
queue.
Message handler to be overridden by implementation.
MessageEvent.data
as received by WorkerService
.
Handle incoming request messages. Identifies message type and processes the request.
WorkerTilerProtocol request.
A promise which resolves to a WorkerServiceResponse.
Start a TilerService
.
Service id. Must be unique.
Generated using TypeDoc
An extension to WorkerService, the
TilerService
implements an asynchronous (message based) service to tile untiled payloads in web workers.The
TilerService
itself lives in the web worker, and communicates with messages by means of aConcurrentWorkerSet
with the application.The
TilerService
registers tile indices (parent tile to be subdivided) by handling aRegisterIndexRequest
, and can later retrieve tiled payloads from through theTileRequest
. The data is sent back in form of a WorkerServiceResponse.