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, 6 Dec 2011 18:37:53
Topic: New BlackBerry sample app
See more news »

Traffic Counter and Copyright text is not showing correctly

2 replies [Last post]
aiman71
User offline. Last seen 1 year 38 weeks ago. Offline
Joined: 05/11/2010

Hi,

I am using LWUIT framework as JME GUI. I was able to run the example for LWUIT and it works fine on the emulator. Also I downloaded in on the device (Samsung OMNIA HD I8910). The application functions very well and customized the example to suite my need. The only issue I am having is with the text really. First the Traffic Counter is showing but can't be read because is like italic fuzzy style and not clear, and the same for the logo (OpenStreetMap and Yahoo) logos they are the same (fuzzy italic style). I initialized MapComponent like this to suite my screen size:

map = new MapComponent("abcdtrial", "Nutiteq", "Mapper", Display.getInstance().getDisplayWidth(),
Display.getInstance().getDisplayHeight(), new WgsPoint(24.764580, 59.437420), 9);

I thought the problem might be because of the screen size but it is not. I did try with the default screen size 200, 200 but it is the same.

Can you please help me with please.

Thanks
Aiman Farhat

AttachmentSize
StringCopyright.java1.53 KB
NutiteqDownloadDisplay.java3.14 KB
jaak
User offline. Last seen 1 day 11 hours ago. Offline
Joined: 06/19/2008

It seems that the built-in fonts on the device's J2ME implementation are not ok. You should define own DownloadDisplay and Copyright classes instead of using the default ones (NutiteqDownloadDisplay and StringCopyright, respectively), and try other font faces and sizes, so they look better on the device.

/JaakL

jaak
User offline. Last seen 1 day 11 hours ago. Offline
Joined: 06/19/2008

I attached here the default implementation sources from library. You could use these as templates for your own ones.

/JaakL