Constructs TestFilesDataProvider
using the provided base path.
base path to be used to construct the url to the resource.
Adds a listener to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
Fire an event type.
Loads the static test data from given URL and returns them as [[ArrayBufferLike]].
the tile key for the tile to be loaded
optional AbortSignal to be used by the fetch function
Checks if listener is added to an event type.
The type of event to listen to.
The function that gets called when the event is fired.
An event which fires when this DataProvider
is invalidated.
A function to call when this DataProvider
is invalidated.
The function to call to unregister the listener from this event.
Registers a client to the data provider.
The client to register.
Promise to wait for successful (or failed) connection to the data source.
Removes a listener from an event type.
The type of the listener that gets removed.
The listener function that gets removed.
Unregisters a client from the data provider.
The client to unregister.
Generated using TypeDoc
Data provider that loads test tiles from a specified base URL. Tile's URLs are generated basing on the basePath and requested tileKey.
The URL is constructed using the following formula:
${this.basePath}/${tileKey.mortonCode()}.bin