CustomTiledLayer

constructor(tileInfo: TileInfo = defaultTileInfo, fullExtent: Envelope = defaultFullExtent, dataProvider: suspend (TileKey) -> ByteArray?)

Constructs a custom tiled layer with the provided details.

Since

200.1.0

Parameters

tileInfo

the tile info that specifies the tiling scheme used by the layer

fullExtent

the full extent of the layer

dataProvider

a lambda that provides the data for each tile key that is passed in. The dataProvider function is called when a new tile is requested and the data should be provided for that tile. If the data is null, the tile will be represented as a no data tile.