-
public final class TileOverlayStateA 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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classTileOverlayState.Companion
-
Method Summary
Modifier and Type Method Description final UnitclearTileCache()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
-
-
-
-