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

Uudised

Viimane: Tue, 17 May 2011 13:21:59
Teema: Nutimap Eesti kaardi asemele
Veel uudiseid »

White tiles problem

5 replies [Last post]
matthewlcy
User offline. Last seen 2 years 6 days ago. Offline
Joined: 08/24/2009

Hi

I'm now using rimui_maps_lib-1.0.0 for development, and I encountered the white tiles problem. As I want to speed up the map loading process, I have add some codes to do the caching.

memoryCache = new MemoryCache(51200);
_rmsCache = new RmsCache("MJR_HWY_CACHE", 65536, 40);
cachingChain = new CachingChain(new com.nutiteq.cache.Cache[] {memoryCache, rmsCache});
mapComponent.setNetworkCache(cachingChain);

And this caching seems to work smoothly at the very beginning, but it starts to show white tiles after I zoom in and zoom out for a few times. And I don't know why this is happening.
Does anyone knows is there any problem on my caching codes? Thanks.

matthew

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

I have kind of standard questions:
- device or emulator where it happens
- what is map source (default/osm, cloudmade, ...)?

/JaakL

matthewlcy
User offline. Last seen 2 years 6 days ago. Offline
Joined: 08/24/2009

Hi jaak,

Thanks for your quick reply.
This problem occured on both the device and the simulator. And I'm using cloudmade map with custom style.

matthew

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

What device exactly (OS version)? The caching code should be fine, it looks more like networking issue.

/JaakL

matthewlcy
User offline. Last seen 2 years 6 days ago. Offline
Joined: 08/24/2009

Hi jaak,
It is a Curve 8900.
v4.6.1.109(Platform 4.2.0.74).

I have also suspected it is the networking issue, but actually it does have internet connectivity since the app can show the response returned by another server that it talked to.

matthew

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

What do you have in the application log? Can you send the app itself?

/JaakL