mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-08 16:05:50 +00:00
Dropped UWP ImageFileCache
This commit is contained in:
parent
f99fc777f2
commit
6ea58c9dd3
4 changed files with 23 additions and 22 deletions
|
|
@ -29,8 +29,11 @@ namespace MapControl
|
|||
/// Default folder path where a persistent cache implementation may save data, i.e. "C:\ProgramData\MapControl\TileCache".
|
||||
/// </summary>
|
||||
public static string DefaultCacheFolder =>
|
||||
#if UWP
|
||||
Path.Combine(Windows.Storage.ApplicationData.Current.LocalCacheFolder.Path, "TileCache");
|
||||
#else
|
||||
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "MapControl", "TileCache");
|
||||
|
||||
#endif
|
||||
/// <summary>
|
||||
/// An IDistributedCache implementation used to cache tile images.
|
||||
/// The default value is a MemoryDistributedCache instance.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue