Skip to main content

flywave-mapview.mapviewimagecache.clear

Home > @flywave/flywave-mapview > MapViewImageCache > clear

MapViewImageCache.clear() method

Remove all ImageItems from the cache.

Signature:

clear(): void;

Returns:



void

Number of images removed.

## Remarks

Also removes all [ImageItem](./flywave-mapview.imageitem.md)<!-- -->s that belong to this [MapView](./flywave-mapview.mapview.md) from the global .