-
public final class WmsTileOverlayKt
-
-
Method Summary
Modifier and Type Method Description final static UnitWmsTileOverlay(Function5<Double, Double, Double, Double, Integer, String> urlFormatter, TileOverlayState state, Boolean fadeIn, Float transparency, Boolean visible, Float zIndex, Function1<TileOverlay, Unit> onClick, Integer tileWidth, Integer tileHeight)A Composable that displays a Web Map Service (WMS) layer using the EPSG:3857 projection. -
-
Method Detail
-
WmsTileOverlay
@Composable() final static Unit WmsTileOverlay(Function5<Double, Double, Double, Double, Integer, String> urlFormatter, TileOverlayState state, Boolean fadeIn, Float transparency, Boolean visible, Float zIndex, Function1<TileOverlay, Unit> onClick, Integer tileWidth, Integer tileHeight)
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).
-
-
-
-