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
-
Method Details
-
getPreload
Integer getPreload()- Returns:
- the level to preload tiles up to or
null
if not set
-
setPreload
Sets the preload level. Layer loads low-resolution tiles up to preload levels. The default value is0
which means no preloading.For more details see: setPreload() docs
- Parameters:
preload
- the level to preload tiles up to
-