Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1735
Caching tiles locally
posted

Hi,

I'm evaluating the XamMap class and currently I'm looking into how to use this control with a local tile cache for use with OpenStreetMap. I e.g. want downloaded tiles to be cached and reused if they have been cached within the last 30 days.

As far as I can see I can use a subclass of MapTileSource as an extension point. However, this only provides the XamMap with a tile URL. I need to get access (callback?) to the tile data when the tile for the provided URL has been downloaded, so that I can save the tile to disk. What are my options here ? 

Regards,
Leif