new module:TilesDownloader(tiles, callbacks, workers)
Parameters:
Name | Type | Description |
---|---|---|
tiles |
Array |
An array of tiles to download. |
callbacks |
ngeox.OfflineOnTileDownload | The callbacks. |
workers |
number | The maximum number of workers. |
Methods
download()
Returns:
Promise
A promise that resolves when the downloads are complete (failing or not)