mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
Version 4: Upgrade to VS 2017
This commit is contained in:
parent
9875b9f1c1
commit
7bbe89755a
20
README.md
20
README.md
|
|
@ -32,22 +32,24 @@ The WPF version allows to use a System.Runtime.Caching.ObjectCache instance for
|
|||
The cache may be set to an instance of System.Runtime.Caching.MemoryCache (e.g. MemoryCache.Default),
|
||||
but caching can also be done persistently by some specialized ObjectCache implementation.
|
||||
Map Control comes with two such implementations:
|
||||
* FileDbCache, an ObjectCache implementation based on EzTools FileDb, a simple, file based No-SQL database.
|
||||
* ImageFileCache, an ObjectCache implementation that stores each cached map tile as a single image file,
|
||||
in the original file format delivered by the map provider (typically PNG or JPG).
|
||||
ImageFileCache does not support expiration, which means that cached tile image files will not be deleted automatically.
|
||||
The cache may hence consume a considerable amount of disk space.
|
||||
in the original file format delivered by the map provider (typically PNG or JPG). ImageFileCache is part of
|
||||
the MapControl.WPF library. It does not support expiration, which means that cached tile image files will
|
||||
not be deleted automatically. The cache may hence consume a considerable amount of disk space.
|
||||
* FileDbCache, an ObjectCache implementation based on EzTools FileDb, a simple, file based No-SQL database,
|
||||
in a separate library FileDbCache.WPF.
|
||||
|
||||
If you want to try the sample application with persistent caching, uncomment the appropriate TileImageLoader.Cache
|
||||
setting in the sample application's MainWindow.xaml.cs file. Please note that some map providers may not allow
|
||||
persistent caching of their map data.
|
||||
|
||||
Since version 2.4.0 the TileImageLoader of the Windows Runtime version also supports caching of map tiles to local image
|
||||
files and to a FileDb file. The cache functionality is defined by the interface IImageCache (in namespace MapControl.Caching)
|
||||
and implemented by the classes ImageFileCache and FileDbCache in libraries ImageFileCache.WinRT and FileDbCache.WinRT.
|
||||
Local image files are written to the ApplicationData.Current.TemporaryFolder by default.
|
||||
For UWP, the cache functionality is defined by the interface IImageCache in the namespace MapControl.Caching,
|
||||
and implemented by the classes ImageFileCache and FileDbCache (in library FileDbCache.UWP). Local image files
|
||||
are written to the ApplicationData.Current.TemporaryFolder by default.
|
||||
|
||||
XAML Map Control is also available on NuGet, with Package Id XAML.MapControl.
|
||||
---
|
||||
|
||||
XAML Map Control is available on NuGet, with Package Id XAML.MapControl.
|
||||
|
||||
---
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue