-
public final class TileOverlayKt
-
-
Method Summary
Modifier and Type Method Description final static UnitTileOverlay(TileProvider tileProvider, Boolean fadeIn, Float transparency, Boolean visible, Float zIndex, Function1<TileOverlay, Unit> onClick)final static UnitTileOverlay(TileProvider tileProvider, TileOverlayState state, Boolean fadeIn, Float transparency, Boolean visible, Float zIndex, Function1<TileOverlay, Unit> onClick)A composable for a tile overlay on the map. final static TileOverlayStaterememberTileOverlayState()-
-
Method Detail
-
TileOverlay
@Composable()@Deprecated(message = For compatibility, level = DeprecationLevel.HIDDEN) final static Unit TileOverlay(TileProvider tileProvider, Boolean fadeIn, Float transparency, Boolean visible, Float zIndex, Function1<TileOverlay, Unit> onClick)
-
TileOverlay
@Composable() final static Unit TileOverlay(TileProvider tileProvider, TileOverlayState state, Boolean fadeIn, Float transparency, Boolean visible, Float zIndex, Function1<TileOverlay, Unit> onClick)
A composable for a tile overlay on the map.
- Parameters:
tileProvider- the tile provider to use for this tile overlaystate- the TileOverlayState to be used to control the tile overlay, such as clearing stale tilesfadeIn- boolean indicating whether the tiles should fade intransparency- the transparency of the tile overlayvisible- the visibility of the tile overlayzIndex- the z-index of the tile overlayonClick- a lambda invoked when the tile overlay is clicked
-
rememberTileOverlayState
@Composable() final static TileOverlayState rememberTileOverlayState()
-
-
-
-