Map bounds.
Map center point.
Initial color to be used for lower values.
Maximum tile level.
Minimum tile level.
Name of the map provider
The provider used to retrieve the base RGB information to be debugged.
Final color to be used for higher values.
Get 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.
Promise with the image obtained for the tile ready to use.
Zoom level.
Tile x.
Tile y.
Generated using TypeDoc
Height debug provider takes a RGB encoded height map from another provider and converts it to a gradient for preview.
Usefull to preview and compare height of different providers. Can also be usefull to generate grayscale maps to be feed into other libraries (e.g. physics engine).