mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 14:08:32 +00:00
TileImageLoader.DefaultCacheFolder
This commit is contained in:
parent
2b10cc1d34
commit
1f33cea5f2
7 changed files with 16 additions and 35 deletions
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Windows.Storage;
|
||||
using Windows.UI.Core;
|
||||
using Windows.UI.Xaml.Media;
|
||||
|
||||
|
|
@ -12,11 +11,6 @@ namespace MapControl
|
|||
{
|
||||
public partial class TileImageLoader
|
||||
{
|
||||
/// <summary>
|
||||
/// Default folder where the Cache instance may save data.
|
||||
/// </summary>
|
||||
public static StorageFolder DefaultCacheFolder => ApplicationData.Current.LocalCacheFolder;
|
||||
|
||||
private static async Task LoadTileAsync(Tile tile, Func<Task<ImageSource>> loadImageFunc)
|
||||
{
|
||||
var tcs = new TaskCompletionSource<object>();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue