public interface TileProvider
Provides tile images for TileOverlay. The method in this API may be called from multiple threads. Therefore, you must ensure the threadsafe when implementing this API.
| Name | Type | Description |
| NO_TILE | public static final Tile | Special tile used to indicate that no tile is available at the specified coordinates. |
None.
| Return type | Method name |
| abstract Tile | getTile(int x, int y, int zoom) |
| Method |
| public abstract Tile getTile(int x, int y, int zoom) |
| Obtains a Tile object with the specified coordinates and zoom level. |
Parameters:
| Parameter name | Parameter desc |
| x | X coordinate of a tile. The value ranges from 0 to 2zoom minus 1. |
| y | Y coordinate of a tile. The value ranges from 0 to 2zoom minus 1. |
| zoom | Zoom level of a tile. To obtain the value range, call the getMinZoomLevel() and getMaxZoomLevel() methods in the HuaweiMap class. |
Return:
| Return type | Parameter desc |
| Tile | Tile object with the specified coordinates and zoom level. |