-
public final class TileOverlayState
A state object that can be hoisted to control the state of a TileOverlay. A TileOverlayState may only be used by a single TileOverlay composable at a time.
clearTileCache can be called to request that the map refresh these tiles.
-
-
Constructor Summary
Constructors Constructor Description TileOverlayState()
-
Method Summary
Modifier and Type Method Description final Unit
clearTileCache()
Call to force a refresh if the tiles provided by the tile overlay become 'stale'. -
-
Method Detail
-
clearTileCache
final Unit clearTileCache()
Call to force a refresh if the tiles provided by the tile overlay become 'stale'. This will cause all the tiles on this overlay to be reloaded. For example, if the tiles provided by the TileProvider change, you must call this afterwards to ensure that the previous tiles are no longer rendered.
See Maps SDK docs
-
-
-
-