When I am switching between screens, the MapCache seems corrupted.
Is there any way to prevent this and how to correct (force MapCache removing corrupted content)?
I am using lib 1.1.0. Wanted to use 1.1.1 but need to get the other issue (overlay gone when doing setMapCenter) resolved first.
Otherwise need to remove the app and install it again.
Corrupted Map
What cache do you use there exactly? Can you give a bit more specific description what happens in your screens, so we would be able to replicate this issue?
I'm using the default cache in MapFieldTouch provided by the BB SDK.
Basically this happens when a map is loading and suddenly network went down, or there are multiple instances of map request loading at the same time.
Then it caches the wrong tile (either a tile that is blank due to network error, or a tile that supposed to be another region)
I would need to see your MapFieldTouch, what is the cache there. At least in recent updates application controls cache, not MapFieldTouch itself. Is it persistent cache or memory? Several screens with different MapComponents can be problematic, at least do not create several BasicMapComponents in one application, otherwise downloaders can get messed up.
A larger screen capture:
http://szenok.net/corrupted_map.png