From 951320881a737792b474e0367f3a029b93b17dfd Mon Sep 17 00:00:00 2001 From: ClemensF Date: Tue, 23 Jul 2019 18:34:53 +0200 Subject: [PATCH] Version 4.13.1 Added SQLiteCache. --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 12b68a93..2211feb3 100644 --- a/README.md +++ b/README.md @@ -31,21 +31,22 @@ define the currently displayed map viewport. The WPF version allows to use a System.Runtime.Caching.ObjectCache instance for caching map tile bitmaps. 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: +Map Control comes with three such implementations: * 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 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](https://github.com/eztools-software/FileDb), a simple, file based No-SQL database, in a separate library FileDbCache.WPF. +* SQLiteCache, an ObjectCache implementation based on [System.Data.SQLite](https://system.data.sqlite.org/index.html/doc/trunk/www/index.wiki). 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. 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. +and implemented by the classes ImageFileCache, FileDbCache (in library FileDbCache.UWP) and SQLiteCache (in library SQLiteCache.UWP). +Local image files and database files are written to ApplicationData.Current.TemporaryFolder by default. ---