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 »

Faster tile loading

2 replies [Last post]
parthi2929
User offline. Last seen 2 years 4 weeks ago. Offline
Joined: 07/26/2009

Hi
I am using yahoo india map and bing aerial map by customizing yahoo example that came with library. I am using the following to get bing aerial map

bingMap = new QKMap("Microsoft",
"http://ecn.t2.tiles.virtualearth.net/tiles/h", 256,
1,17, ".jpeg?g=321&mkt=en-us");

mapDisplay.setMap(bingMap);

However, in my phone (nokia 5800) bing aerial seem to load too slow and sometimes yahoo india map too. I donot use much threads except one for GPS and one for custom zoom indicator. So in order to have faster tile loading what should be done. MGMaps seem to be loading much faster.
Any cache options to be set or used? I assumed lib itself takes care of that internally. If they have to be explicitly used can you provide a brief overvew on how to use it.

Regards
Parthiban R

Parthiban Rajendran

parthi2929
User offline. Last seen 2 years 4 weeks ago. Offline
Joined: 07/26/2009

For instance, while app starts, it can get tiles immediately from local cache stored during previous exit of the application.. so that, user will not have to stare on blank screen waiting for the tiles,.. at the same time, in background, app can fetch current location's tiles and once ready can show them..

also, how to manage threads so that mapcomponent's threads are unharmed and engaged fully to bring tiles faster in shortest time possible..

Parthiban Rajendran

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

Library handles caching in RMS. See some general info about it from http://www.nutiteq.com/content/blackberry-rmscache-problem . Note that RMS cache index is written if you call stopMapping method of MapComponent. If you do not do it properly, then the cache just does not work. Maybe this is your issue

/JaakL