I'm creating an app that caches map areas for offline use. I have a single tilesource with many possible areas of interest, and I want to be able to remove cache for a specific area but not other areas.
What would be the best way to cache the different areas to a database in this case?
Also, is it possible to have more than one background cache process?
We have not tried more than one background process. It probably won't be great due to performance reasons, but you should be able to do it technically.
I would use different tile sources for different areas with the current setup. A tile source currently is meant to be cleared all-or-nothing. This could be modified in custom changes to the (open source) SDK but doesn't do that out of the box.