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

@ -15,9 +15,13 @@ namespace MapControl
public partial class TileImageLoader : ITileImageLoader
{
/// <summary>
/// Default StorageFolder where an IImageCache instance may save cached data.
/// Default StorageFolder where an IImageCache instance may save cached data,
/// i.e. ApplicationData.Current.TemporaryFolder.
/// </summary>
public static StorageFolder DefaultCacheFolder { get; } = ApplicationData.Current.TemporaryFolder;
public static StorageFolder DefaultCacheFolder
{
get { return ApplicationData.Current.TemporaryFolder; }
}
/// <summary>
/// The IImageCache implementation used to cache tile images. The default is null.
@ -25,7 +29,7 @@ namespace MapControl
public static Caching.IImageCache Cache { get; set; }
/// <summary>
/// Gets or sets the maximum number of concurrent connections.
/// Gets or sets the maximum number of concurrent connections. The default value is 2.
/// </summary>
public static int DefaultConnectionLimit { get; set; } = 2;

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.