mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 06:26:41 +00:00
Version 4.1.
This commit is contained in:
parent
526384170c
commit
61d06b4924
3 changed files with 14 additions and 4 deletions
|
|
@ -17,13 +17,18 @@ namespace MapControl
|
|||
/// <summary>
|
||||
/// Default StorageFolder where an IImageCache instance may save cached data.
|
||||
/// </summary>
|
||||
public static readonly StorageFolder DefaultCacheFolder = ApplicationData.Current.TemporaryFolder;
|
||||
public static StorageFolder DefaultCacheFolder { get; } = ApplicationData.Current.TemporaryFolder;
|
||||
|
||||
/// <summary>
|
||||
/// The IImageCache implementation used to cache tile images. The default is null.
|
||||
/// </summary>
|
||||
public static Caching.IImageCache Cache { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the maximum number of concurrent connections.
|
||||
/// </summary>
|
||||
public static int DefaultConnectionLimit { get; set; } = 2;
|
||||
|
||||
private async Task LoadTileImageAsync(Tile tile, Uri uri, string cacheKey)
|
||||
{
|
||||
var cacheItem = await Cache.GetAsync(cacheKey);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue