setTileData

fun setTileData(tileID: CanonicalTileID, image: Image?)

Set tile data for a raster tile.

By default, the provided data is not cached, and the implementation will call the fetch callback each time the tile reappears.

Parameters

tileID

A CanonicalTileID of the tile.

image

Image content of the tile. If NULL is provided then the tile gets removed from the map.


fun setTileData(tileID: CanonicalTileID, bitmap: Bitmap?)

Set tile data for a raster tile.

By default, the provided data is not cached, and the implementation will call the fetch callback each time the tile reappears.

Parameters

tileID

A CanonicalTileID of the tile.

bitmap

Bitmap content of the tile. If NULL is provided then the tile gets removed from the map.