08-18-2010 02:31 AM
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.