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.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

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.