flywave-mapview.concurrenttilerfacade.gettiler
Home > @flywave/flywave-mapview > ConcurrentTilerFacade > getTiler
ConcurrentTilerFacade.getTiler() method
Returns a WorkerBasedTiler instance.
Signature:
static getTiler(tilerServiceType: string, scriptUrl?: string, workerCount?: number, workerConnectionTimeout?: number): ITiler;
Parameters
Parameter | Type | Description |
|---|---|---|
tilerServiceType | string | The name of the tiler service type. |
scriptUrl | string | (Optional) The optional URL with the workers' script. |
workerCount | number | (Optional) The number of web workers to use. |
workerConnectionTimeout | number | (Optional) Timeout in seconds to connect to the web worker. |
Returns:
ITiler