Version 4.1.

This commit is contained in:
ClemensF 2017-09-06 20:43:46 +02:00
parent b4d387d99d
commit 078f3173da
2 changed files with 13 additions and 6 deletions

View file

@ -16,10 +16,13 @@ namespace MapControl
public partial class TileImageLoader : ITileImageLoader
{
/// <summary>
/// Default folder path where an ObjectCache instance may save cached data.
/// Default folder path where an ObjectCache instance may save cached data,
/// i.e. C:\ProgramData\MapControl\TileCache
/// </summary>
public static string DefaultCacheFolder { get; } =
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "MapControl", "TileCache");
public static string DefaultCacheFolder
{
get { return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "MapControl", "TileCache"); }
}
/// <summary>
/// The ObjectCache used to cache tile images. The default is MemoryCache.Default.