Update README.md

This commit is contained in:
ClemensFischer 2024-02-05 10:38:29 +01:00
parent 8ca252ef53
commit bcfe671ed9

View file

@ -30,11 +30,13 @@ which define the currently displayed map viewport.
--- ---
The **TileImageLoader** class uses an implementation of The **TileImageLoader** class uses
[IDistributedCache](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.caching.distributed.idistributedcache?view=dotnet-plat-ext-8.0) [IDistributedCache](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.caching.distributed.idistributedcache?view=dotnet-plat-ext-8.0)
for optional caching of map tile bitmaps. for optional caching of map tile bitmaps. By default, the cache is a
[MemoryDistributedCache](https://learn.microsoft.com/en-us/dotnet/api/microsoft.extensions.caching.distributed.memorydistributedcache?view=dotnet-plat-ext-8.0).
instance with all default options.
Map Control comes with three such implementations: Map Control provides three IDistributedCache implementations for persistent caching:
* ImageFileCache, an IDistributedCache implementation that stores each cached map tile as a single image file, * ImageFileCache, an IDistributedCache implementation that stores each cached map tile as a single image file,
in the original file format delivered by the map provider (typically PNG or JPG). ImageFileCache is part of in the original file format delivered by the map provider (typically PNG or JPG). ImageFileCache is part of
the MapControl library. the MapControl library.