Readonly
dataThe URL of the data server. See WxAPIOptions for configuration details.
Readonly
extsee WxAPIOptions
Readonly
initA Promise that resolves when the WxAPI instance is fully initialized and ready to be used.
Readonly
loadInternal
A function that loads mask tiles asynchronously.
A Promise that resolves to the ImageData of the tile.
Readonly
Internal
maskThe channel used for mask tiles. See WxAPIOptions for details.
Readonly
Internal
maskThe depth level used for mask tiles. See WxAPIOptions for more information.
Readonly
maskURLThe URL for the mask tiles. See WxAPIOptions for more information.
Readonly
Internal
qtreeAn instance of the QTree object, used internally for spatial indexing.
Optional
Readonly
requestOptional configuration for HTTP requests. See WxAPIOptions for details.
Creates a dataset manager for the specified dataset.
A promise that resolves to a WxDataSetManager
instance.
const api = new WxAPI();
const datasetManager = await api.createDatasetManager("gfs.global");
The name of the dataset to manage.
Generated using TypeDoc
Extends the
BaseWxAPI
class from the@metoceanapi/wxtiles-common
package. Provides additional functionality for creating dataset managers.