flywave-mapview.workerbasedtiler.updateindex
Home > @flywave/flywave-mapview > WorkerBasedTiler > updateIndex
WorkerBasedTiler.updateIndex() method
Update index in the tiler. Indexes registered in the tiler can be later used to retrieved tiled payloads using getTile.
Signature:
updateIndex(indexId: string, input: URL | GeoJson): Promise<void>;
Parameters
Parameter | Type | Description |
|---|---|---|
indexId | string | Index identifier. |
input | URL | GeoJson | Url to the index payload, or direct GeoJSON. |
Returns:
Promise<void>