mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Version 4.1.
This commit is contained in:
parent
b4d387d99d
commit
078f3173da
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue