Internal
Do not use this constructor directly
Protected
_needA boolean flag indicating whether the dataset manager needs to be updated or not.
returns the dataset manager of the source
the dataset manager of the source
Get a copy of the current style of the source.
A copy of the current style of the source.
Get the metadata of the current variable(s).
Get the metadata of the current variable(s).
Get current variables (1 or 2) of the source/layer.
variables of the source.
Cache tiles for faster rendering for setTime. If the time is not available, the closest time will be used.
A promise that resolves when finished preload.
Time to preload.
Optional
requestInit: WxRequestInitRequest options.
Set the style of the source by its name from default styles.
A promise that resolves when the style is set.
Name of the new style to set.
If true, the source will be reloaded and rerendered.
Set time and render the source. If the time is not available, the closest time will be used.
A promise that resolves with current time step when the time is set and the source is loaded and rendered.
Optional
time: WxDateTime to set.
Optional
requestInit: WxRequestInitRequest options for fetch.
Update the current style object of the source partially or completely.
A promise that resolves when the style is set.
Optional
style: WxColorStyleWeakStyle's fields to set.
If true, the source will be reloaded and rerendered.
Optional
requestInit: WxRequestInitRequest options.
Generated using TypeDoc
Implementation of universal methods for the layer (for Mapbox and Leaflet) To be extended by framework specific implementation Wrapps some methods of WxLayer