2013-04-20 183 views
0

我有应用程序,它获取坐标并返回到谷歌地图。 我只有一个问题。 当我把坐标,指针是不是很正确。 我有一种方法,但我认为不适合这份工作。Android:谷歌地图坐标

对不起,我的英语不好。

在此先感谢。

touchedPoint=map.getProjection().fromPixels((int) cord,(int) cord1); 

     CustomPoint custom = new CustomPoint(d, Maps.this); 

     OverlayItem overlayItem = new OverlayItem(touchedPoint, null, null); 

     custom.insertPoints(overlayItem); 
     overlayList.add(custom); 

回答