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 »

Capture event click in Pin

3 replies [Last post]
kubomobile
User offline. Last seen 44 weeks 6 days ago. Offline
Joined: 06/23/2011

Hello!

I can put in the map some pins "places" now i need when the user touch the place, send the user to other window..

How i can get the event touch in the pin?

BR!

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

There is interface OnMapElementListener, which has event "elementClicked()". You should implement the interface and tell MapComponent to use it with mapComponent.setOnMapElementListener();

/JaakL

Muhammad Atif Q...
User offline. Last seen 8 weeks 6 days ago. Offline
Joined: 01/08/2012

One question that works fine for touch devices but in case of non-touch devices elementClicked is not getting called. Any way of capturing place on navigateClick

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

Take a look to https://bitbucket.org/nutiteq/blackberry-map-samples/changeset/0f7f468122b6 . There are two things - adding OnMapElementListener and corresponding actions (which should be done for you already), and defining that navigationClick emits keypress+release with code KEY_ENTER, which is mapped to ControlKeys.SELECT_KEY in KeyMapping of MapComponent.

/JaakL