TileOverlay
fun TileOverlay(tileProvider: TileProvider, state: TileOverlayState = rememberTileOverlayState(), fadeIn: Boolean = true, transparency: Float = 0.0f, visible: Boolean = true, zIndex: Float = 0.0f, onClick: (TileOverlay) -> Unit = {})
A composable for a tile overlay on the map.
Parameters
tileProvider
the tile provider to use for this tile overlay
state
the TileOverlayState to be used to control the tile overlay, such as clearing stale tiles
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