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 »

BlachBerry TrackWheel

4 replies [Last post]
eliehaddad
User offline. Last seen 1 year 5 weeks ago. Offline
Joined: 08/27/2008

Please how can we define the trackwheel to pan the map?

EGH

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

Implement following:
protected boolean navigationMovement(int dx, int dy, int status, int time) {
map.panMap(dx * 10, dy * 10);
return false;
}

/JaakL

eliehaddad
User offline. Last seen 1 year 5 weeks ago. Offline
Joined: 08/27/2008

it did not work with a midlet application i did even implement that treackwheellistener and it did not work..

EGH

eliehaddad
User offline. Last seen 1 year 5 weeks ago. Offline
Joined: 08/27/2008

knowing that i implemented the maplistener and defined the keys as below

keysMapping.defineKey(ControlKeys.MOVE_UP_KEY, 84);
keysMapping.defineKey(ControlKeys.MOVE_UP_KEY, 69);

keysMapping.defineKey(ControlKeys.MOVE_DOWN_KEY, 66);
keysMapping.defineKey(ControlKeys.MOVE_DOWN_KEY, 88);
keysMapping.defineKey(ControlKeys.MOVE_LEFT_KEY, 83);
keysMapping.defineKey(ControlKeys.MOVE_RIGHT_KEY, 70);
keysMapping.defineKey(ControlKeys.MOVE_RIGHT_KEY, 74);

keysMapping.defineKey(ControlKeys.ZOOM_OUT_KEY, 20);
keysMapping.defineKey(ControlKeys.ZOOM_OUT_KEY, 65);
keysMapping.defineKey(ControlKeys.ZOOM_OUT_KEY, 79);

keysMapping.defineKey(ControlKeys.ZOOM_IN_KEY, 261);
keysMapping.defineKey(ControlKeys.ZOOM_IN_KEY, 81);
keysMapping.defineKey(ControlKeys.ZOOM_IN_KEY, 73);

EGH

eliehaddad
User offline. Last seen 1 year 5 weeks ago. Offline
Joined: 08/27/2008

thank you solved this issue by defining keys as below
keysMapping.defineKey(ControlKeys.MOVE_UP_KEY, Canvas.UP);
keysMapping.defineKey(ControlKeys.MOVE_DOWN_KEY, Canvas.DOWN);
keysMapping.defineKey(ControlKeys.MOVE_LEFT_KEY, Canvas.LEFT);
keysMapping.defineKey(ControlKeys.MOVE_RIGHT_KEY, Canvas.RIGHT);
keysMapping.defineKey(ControlKeys.SELECT_KEY, Canvas.FIRE);

EGH