options to configure the provider
The id of the Provider
default tile margin.
The name of the Provider.
Add an EventListener to the provider. Valid events: "clear" and "error"
The detail property of the Event gives additional information about the event. detail.provider is a reference to the provider onto which the event was dispatched and is set for all events.
A string representing the event type to listen for
the listener function that will be called when an event of the specific type occurs
Cancel ongoing request(s) and drop the tile.
the quadkey of the tile that should be canceled and removed.
Cancel ongoing request(s) and drop the tile.
the tile that should be canceled and removed.
Clears the given tile(s) from the provider's cache.
Clears all tiles within a specified geographical bounding box.
An array of geographical coordinates [minLon, minLat, maxLon, maxLat]
defining the rectangular area from which tiles will be cleared.
Clears all cached tiles of the provider.
Set config for provider.
options to set
Create a new Tile.
the quadkey of the tile to create
Get a locally cached tile by quadkey.
the quadkey of the tile
Retrieves cached tiles within a specified bounding box or all cached tiles if no parameters are provided.
If no arguments are passed, all cached tiles are returned.
If a bounding box (bbox
) and/or zoom level (zoomlevel
) are provided, it filters the cached tiles based on the specified area and zoom level.
An optional array of coordinates defining the bounding box in the format: [minLon, minLat, maxLon, maxLat]
.
If provided, only tiles within this geographic area will be returned.
An optional zoom level to filter tiles. If provided, only tiles at the specified zoom level will be returned.
Remove an EventListener from the provider. Valid events: "clear" and "error"
A string which specifies the type of event for which to remove an event listener.
The listener function of the event handler to remove from the provider.
Set the tile margin in pixel.
the tileMargin
Generated using TypeDoc
Tile Provider for Image/Raster data. eg: Satellite Tiles.