TileBitmapCache class

Implementations of this class provides caches for Tiles.

Implementers

Constructors

TileBitmapCache()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addTileBitmap(Tile tile, TileBitmap tileBitmap) → void
Adds a bitmap to the cache
dispose() → void
disposes the cache. It should not be used anymore after disposing.
getTileBitmapAsync(Tile tile) Future<TileBitmap>
getTileBitmapSync(Tile tile) → TileBitmap
Returns the requested bitmap for the given Tile
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
purgeAll() → void
Purges the whole cache. The cache can be used afterwards but will not return any items
purgeByBoundary(BoundingBox boundingBox) → void
Purges the cache whose Tiles intersects with the given boundingBox. Any bitmap which is fully or partially intersecting the given boundingBox will be purged.
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited