Optional
options: MapProviderParametersOptional
boundsMap bounds.
Name of the map provider
Maximum tile level.
Minimum tile level.
Name of the map provider
Optional
optionsGet a tile for the x, y, zoom based on the provider configuration.
The tile should be returned as a image object, compatible with canvas context 2D drawImage() and with webgl texImage2D() method.
Zoom level.
Tile x.
Tile y.
Promise with the image obtained for the tile ready to use.
A map provider is a object that handles the access to map tiles of a specific service.
They contain the access configuration and are responsible for handling the map theme size etc.
MapProvider should be used as a base for all the providers.