TileBitmapCache class abstract
Implementations of this class provides caches for Tiles.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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 nonexistent 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 givenboundingBox
will be purged. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited