Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Highlighted
Developer
Posts: 54
Registered: ‎11-12-2009
My Device: Not Specified

RichMapField - Perform action on MapLocation click

[ Edited ]

Hi all,

 

I am working on the Blackberry RichMapField within my application. I could successfully render the map, and display my required location using the MapLocation.

 

When I click on this pin-like-image for the MapLocation, it displays the MapLocation title and description in a small dialog.

 

However, I want to perform some custom business (say show a new screen) when I click this pin-like-image on the Map. Please advise on how this can be achieved. Are there any listeners designed for this that can capture the click and give it to me in the call-back?

 

I have explored the MapAction, but it has not been able to resolve my requirement. I am sure this is a common requirement and must have been acheived. Please help!!

 

Note : I am working on JDE 7.0 and testing on a Blackberry 9900 Bold device.

 

Thanks,

Hiral