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

New Developer
Posts: 7
Registered: ‎12-31-2009
My Device: Not Specified

MapField's convertWorldToField method returns wrong values when map is fully zoomed in




I am facing an issue with the MapField's convertWorldToField(Coordinates worldIn, XYPoint fieldOut) method. It gives the wrong values in the fieldOut. I think the algo that this method is using internally is crossing the int range and fieldOut.x and fieldOut.y are int only and can not hold the field coordinates for the coordinates that are too far from the center location when the map if fully zoomed in.


Kindly tell me the workaroud for this.




Tanuj Batra