TileOverlay

@Composable()
fun TileOverlay(tileProvider: TileProvider, fadeIn: Boolean = true, transparency: Float = 0f, visible: Boolean = true, zIndex: Float = 0f, onClick: (TileOverlay) -> Unit = {})

A composable for a tile overlay on the map.

Parameters

tileProvider

the tile provider to use for this tile overlay

fadeIn

boolean indicating whether the tiles should fade in

transparency

the transparency of the tile overlay

visible

the visibility of the tile overlay

zIndex

the z-index of the tile overlay

onClick

a lambda invoked when the tile overlay is clicked