Package 

Class TileOverlayState


  • 
    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.

    • 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'.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TileOverlayState

        TileOverlayState()
    • 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