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
Regular Visitor
Posts: 1
Registered: ‎07-29-2011
My Device: 9800
My Carrier: no

Re: Maps with clickable pins

I've got the same problem.

MapField on SDK 6.0.0 doesn't have the method convertWorldToField.

 

I don't know how to customize my pins and listen which one is clicked.

Is there a solution or not ?

Highlighted
Developer
Posts: 77
Registered: ‎11-03-2009
My Device: 9810 Torch
My Carrier: VIPnet

Re: Maps with clickable pins

A valid and probably simpler option would be to use this open source library by Monits https://github.com/Monits/blackberry-commons

It contains several common functionality found in BB applications and is compatible for BB 4.6.1+

Among other things, it provides a map field with the ability to add and display markers on top of it, with and without focus, and optionally "open" them.

The documentation is pretty good, and the wiki even has a tutorial on how to achieve it https://github.com/Monits/blackberry-commons/wiki/CustomMap

Regular Visitor
Posts: 1
Registered: ‎10-21-2012
My Device: 1980
My Carrier: Developer

Re: Maps with clickable pins

I dont think this is a greet idea, this is a harie, cause RicjMapField is final class you can't override it, any other help