Custom Tiled Layer
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
tile Info
the tile info that specifies the tiling scheme used by the layer
full Extent
the full extent of the layer
data Provider
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.