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
|
public partial class TileImageLoader : ITileImageLoader
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
public static StorageFolder DefaultCacheFolder { get; } = ApplicationData.Current.TemporaryFolder;
|
public static StorageFolder DefaultCacheFolder
|
||||||
|
{
|
||||||
|
get { return ApplicationData.Current.TemporaryFolder; }
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The IImageCache implementation used to cache tile images. The default is null.
|
/// 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; }
|
public static Caching.IImageCache Cache { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
public static int DefaultConnectionLimit { get; set; } = 2;
|
public static int DefaultConnectionLimit { get; set; } = 2;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -16,10 +16,13 @@ namespace MapControl
|
||||||
public partial class TileImageLoader : ITileImageLoader
|
public partial class TileImageLoader : ITileImageLoader
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
public static string DefaultCacheFolder { get; } =
|
public static string DefaultCacheFolder
|
||||||
Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "MapControl", "TileCache");
|
{
|
||||||
|
get { return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "MapControl", "TileCache"); }
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The ObjectCache used to cache tile images. The default is MemoryCache.Default.
|
/// The ObjectCache used to cache tile images. The default is MemoryCache.Default.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue