Class WorkerBasedTiler

Tiler based on [[ConcurrentWorkerSet]].

Tiles payloads using workers running in separate contexts (also known as WebWorkers):

  • connection establishment,
  • sends tile requests,
  • configuration.

Hierarchy

  • WorkerBasedTiler

Implements

  • ITiler

Constructors

Methods

  • Connects to [[WorkerServiceManager]]s in underlying [[ConcurrentWorkerSet]] and creates dedicated [[TilerService]]s in all workers to serve tiling requests.

    Returns Promise<void>

  • Register index in the tiler. Indexes registered in the tiler can be later used to retrieved tiled payloads using getTile.

    Parameters

    • indexId: string

      Index identifier.

    • input: URL | GeoJson

      Url to the index payload, or direct GeoJSON.

    Returns Promise<void>

  • Update index in the tiler. Indexes registered in the tiler can be later used to retrieved tiled payloads using getTile.

    Parameters

    • indexId: string

      Index identifier.

    • input: URL | GeoJson

      Url to the index payload, or direct GeoJSON.

    Returns Promise<void>

Generated using TypeDoc