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
Developer
johnbibs
Posts: 905
Registered: ‎02-07-2009
My Device: BlackBerry Torch 9800
My Carrier: Globe Telecom

BlackBerry Maps Overlay

Hi,

 

Anybody tried working with the BlackBerry Maps? What's the best way to create an overlay? i tried working with MapField and overide the paint and use drawLine but the lines are too thin. Any easier approach available? I'm using 5.0 by the way. I'm planning to embedd a map inside my application and not invoke the BlackBerry Maps application on top of mine.

 

Appreciate your help.

 

Thanks!

 

Please use plain text.
Contributor
kannappan88
Posts: 40
Registered: ‎10-10-2011
My Device: BB Curve&Bold
My Carrier: Airtel

Re: BlackBerry Maps Overlay

[ Edited ]

Hi,

 

Better  you use google static map api.Its more helpful for you. I had did the same.

Please use plain text.
Developer
johnbibs
Posts: 905
Registered: ‎02-07-2009
My Device: BlackBerry Torch 9800
My Carrier: Globe Telecom

Re: BlackBerry Maps Overlay

Thanks for the suggestion. :smileyhappy: But i need something that can be zoom in and out just like the regular map.
Please use plain text.
Developer
johnbibs
Posts: 905
Registered: ‎02-07-2009
My Device: BlackBerry Torch 9800
My Carrier: Globe Telecom

Re: BlackBerry Maps Overlay

How about overriding paint method of MapField? anybody tried this?
Please use plain text.
Developer
jitendrasharma
Posts: 208
Registered: ‎08-04-2009
My Device: Not Specified

Re: BlackBerry Maps Overlay

Yes, I have overrided paint method to achieve this, you can check below thread, though it is developed only for MapField available from 4.6, but  you can improve it to RichMapField available since 5.0:

 

http://supportforums.blackberry.com/t5/Java-Development/Blakberry-maps/m-p/535715#M108321

 

 

Please use plain text.