set Style Custom Raster Source Tile Data
open fun setStyleCustomRasterSourceTileData(sourceId: String, tileId: CanonicalTileID, image: Image?): Expected<String, None>
Note! This is an experimental feature. It can be changed or removed in future versions.
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. Use the MapboxMap.setTileCacheBudget API to establish an internal cache for the source.
Parameters
source Id
A style source identifier.
tile Id
A canonical tile id of the tile.
image
Image content of the tile. If an empty image is provided then the tile gets removed from the map.