ClemensFischer / XAML-Map-Control

XAML Map Control Library
Microsoft Public License
205 stars 61 forks source link

Option to disable FileDbCache cleanup on startup #15

Closed superware closed 6 years ago

superware commented 6 years ago

public FileDbCache(string path, bool autoFlush = true, int autoCleanThreshold = -1, bool cleanNow = true)

Will add an option to maintain all expired tiles on startup. This is a must feature in cases where the used device is usually offline, so it will still be possible to view all cached tiles.

Can you please consider this non breaking change? Thanks.

ClemensFischer commented 6 years ago

You may easily create your own version of FileDbCache. It isn't part of the NuGet package anyway.