mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-04 14:08:32 +00:00
Version 4.12.1 Added User-Agent HTTP header
This commit is contained in:
parent
ae09b0e55d
commit
644005c03e
5 changed files with 7 additions and 5 deletions
|
|
@ -1,5 +1,4 @@
|
|||
using MapControl;
|
||||
using MapControl.Caching;
|
||||
using ViewModel;
|
||||
using Windows.UI.Xaml;
|
||||
using Windows.UI.Xaml.Controls;
|
||||
|
|
@ -13,6 +12,7 @@ namespace UniversalApp
|
|||
|
||||
public MainPage()
|
||||
{
|
||||
ImageLoader.HttpClient.DefaultRequestHeaders.Add("User-Agent", "XAML Map Control Test Application");
|
||||
//TileImageLoader.Cache = new ImageFileCache(TileImageLoader.DefaultCacheFolder);
|
||||
//TileImageLoader.Cache = new FileDbCache(TileImageLoader.DefaultCacheFolder);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue