WmsTileOverlay
fun WmsTileOverlay(urlFormatter: (xMin: Double, yMin: Double, xMax: Double, yMax: Double, zoom: Int) -> String, state: TileOverlayState = rememberTileOverlayState(), fadeIn: Boolean = true, transparency: Float = 0.0f, visible: Boolean = true, zIndex: Float = 0.0f, onClick: (TileOverlay) -> Unit = {}, tileWidth: Int = 256, tileHeight: Int = 256)
A Composable that displays a Web Map Service (WMS) layer using the EPSG:3857 projection.
Parameters
urlFormatter
a lambda that returns the WMS URL for the given bounding box coordinates.
state
the TileOverlayState to be used to control the 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.
tileWidth
the width of the tiles in pixels (default 256).
tileHeight
the height of the tiles in pixels (default 256).