Android 安卓:谷歌地图坐标
我有一个获取坐标并返回到谷歌地图的应用程序。 我只有一个问题。 当我输入坐标时,指针不是很正确。 我有一种方法,但我认为不适合这份工作 对不起,我的英语不好 提前谢谢Android 安卓:谷歌地图坐标,android,maps,coordinates,Android,Maps,Coordinates,我有一个获取坐标并返回到谷歌地图的应用程序。 我只有一个问题。 当我输入坐标时,指针不是很正确。 我有一种方法,但我认为不适合这份工作 对不起,我的英语不好 提前谢谢 touchedPoint=map.getProjection().fromPixels((int) cord,(int) cord1); CustomPoint custom = new CustomPoint(d, Maps.this); OverlayItem overlayItem = n
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);
请使用谷歌地图v2。这已被弃用,钥匙已于三月丢失 您可以在中找到教程