mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 06:26:41 +00:00
Version 1.8.0: Fixed MapImage, added ImageTileSource to Silverlight and WinRT versions, modified TileImageLoader.
This commit is contained in:
parent
8eedb82a9d
commit
9f4ab0f3e3
29 changed files with 331 additions and 285 deletions
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Runtime.Caching;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
|
|
@ -22,6 +23,9 @@ namespace WpfApplication
|
|||
{
|
||||
switch (Properties.Settings.Default.TileCache)
|
||||
{
|
||||
case "MemoryCache":
|
||||
TileImageLoader.Cache = MemoryCache.Default;
|
||||
break;
|
||||
case "FileDbCache":
|
||||
TileImageLoader.Cache = new FileDbCache(TileImageLoader.DefaultCacheName, TileImageLoader.DefaultCacheDirectory);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue