Map API

Nutiteq Maps Lib SDK enables developing advanced mobile mapping applications.
Platforms: Android, RIM BlackBerry, Java ME (J2ME)
Download maps API SDK »
Untitled Document

Products

» View demos
» Downloads

Latest news

Last at Tue, 3 Apr 2012 23:31:42
Topic: MapXT SDK evaluation
See more news »

Corrupted MapCache

4 replies [Last post]
echeng
User offline. Last seen 31 weeks 4 days ago. Offline
Joined: 07/08/2011

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 MapCorrupted Map

echeng
User offline. Last seen 31 weeks 4 days ago. Offline
Joined: 07/08/2011

A larger screen capture:
http://szenok.net/corrupted_map.png

jaak
User offline. Last seen 14 hours 23 min ago. Offline
Joined: 06/19/2008

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?

/JaakL

echeng
User offline. Last seen 31 weeks 4 days ago. Offline
Joined: 07/08/2011

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)

jaak
User offline. Last seen 14 hours 23 min ago. Offline
Joined: 06/19/2008

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.

/JaakL