Interface BaseTileLayer.HasPreload

All Known Subinterfaces:
BaseTileLayer.HasBaseTileLayerOptions
All Known Implementing Classes:
BaseTileLayerOptions, NoOpTileLayer, TileLayer, TileLayerOptions
Enclosing class:
BaseTileLayer

public static interface BaseTileLayer.HasPreload
Interface to be implemented by layers that should provide "preload" attribute management.

For more details see: BaseTileLayer docs

  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    Sets the preload level.
  • Method Details

    • getPreload

      Integer getPreload()
      Returns:
      the level to preload tiles up to or null if not set
    • setPreload

      void setPreload(Integer preload)
      Sets the preload level. Layer loads low-resolution tiles up to preload levels. The default value is 0 which means no preloading.

      For more details see: setPreload() docs

      Parameters:
      preload - the level to preload tiles up to