2013-04-20 180 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); 

回答