-
public class MapTilePreCacheThe Tile Pre Cache goal is to: - list the tiles that are near the ones that are currently displayed (border, zoom+-1, ...) - try to find their bitmap using a list of providers - pre-cache those bitmaps into memory cache Doing so you get smoother when panning the map or zooming in/out as the bitmaps are already in memory. Cf. #930
-
-
Constructor Summary
Constructors Constructor Description MapTilePreCache(MapTileCache pCache)
-
Method Summary
Modifier and Type Method Description voidaddProvider(MapTileModuleProviderBase pProvider)voidfill()Compute the latest tile list and try to put each tile bitmap in memory cache -
-
Constructor Detail
-
MapTilePreCache
MapTilePreCache(MapTileCache pCache)
-
-
Method Detail
-
addProvider
void addProvider(MapTileModuleProviderBase pProvider)
-
fill
void fill()
Compute the latest tile list and try to put each tile bitmap in memory cache
-
-
-
-