0
荫开发Android app.about谷歌地图API的Android我要问探索谷歌地图API的Android
我已经覆盖ONTAP方法,这样我就上GoogleMap的越来越抽头位置的坐标,但知道我想要在记录的位置坐标上显示标记或别针。请告诉我怎样可以修改我的代码如下:
public boolean onTap(GeoPoint point, MapView mapView)
{
Context contexto = mapView.getContext();
String msg = "Lat: " + point.getLatitudeE6()/1E6 + " - " +
"Lon: " + point.getLongitudeE6()/1E6;
Toast toast = Toast.makeText(contexto, msg, Toast.LENGTH_SHORT);
toast.show();
return true;
}
最好的问候, 下面穆罕默德·塔希尔阿什拉夫
谢谢!对于我已经按照您提供的相同链接制作Google地图应用的回复。但我不知道如何上述tasks.Please让我知道如果你能帮助我,并告诉如何做到这一点 – 2012-03-25 09:24:39
你检查了第2部分:添加覆盖物品? – Pavandroid 2012-03-25 09:43:38
是的,我确实请读过这个问题,我已经更新了谢谢 – 2012-03-25 11:31:45