-
public class Constants.Cache
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerCACHE_SIZEprivate final IntegerTHUMBNAILS_CACHE_SIZEpublic final static Constants.CacheINSTANCE
-
Method Summary
Modifier and Type Method Description final IntegergetCACHE_SIZE()The size of the cache (number of bitmaps kept) Increased to support more tiles at high zoom levels. final IntegergetTHUMBNAILS_CACHE_SIZE()Thumbnail cache - increased to prevent white flashes during zoom -
-
Method Detail
-
getCACHE_SIZE
final Integer getCACHE_SIZE()
The size of the cache (number of bitmaps kept) Increased to support more tiles at high zoom levels. 512px tiles = ~0.5MB each (RGB_565), ~1MB each (ARGB_8888) 150 tiles = ~75-150MB cache
-
getTHUMBNAILS_CACHE_SIZE
final Integer getTHUMBNAILS_CACHE_SIZE()
Thumbnail cache - increased to prevent white flashes during zoom
-
-
-
-